cleanuppolicies.php
Summary
Remove database policies defined on module which do not exist in a modules folder
Location
./bin/php/cleanuppolicies.php
Parameters
allow-root-user
colors
debug
dry-run
help
logfiles
no-colors
quiet
siteaccess
verbose
-r,--allow-root-user Allows your root user to run the ezcache.php script. The usage of this parameter is only recommended for advanced users. With great power comes great responsibility. -c,--colors Display output using ANSI colors (default)Use --no-colors to not use ANSI coloring. -d[<option>[,<option2>...]], --debug[=<option>[,<option2>...]] Output debug information. The following options can be used to control what the debug output should include: "all" (everything), "accumulator" (accumulators), "include" (included files), "timing" (timing points), "error" (errors), "warning" (warnings), "notice" (notices). --dry-run Test mode, output the list of affected policies without removing them -h,--help Display help and exit. --logfiles Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the Exponential installation. --no-colors Do not use ANSI colors when generating debug output. -q,--quiet Do not give any output except when errors occur. -s,--siteaccess Selected siteaccess for operations, if not specified default siteaccess is used. -v, --verbose Output verbose / additional information. Description
Remove from database policies defined on module which do not exist in a modules folder according to settings from module.ini/[ModuleSettings]/ExtensionRepositories
Contributors
- Sarah Haïm-Lubczanski Updated
Comments
Add a comment