ibexa

Path

ez publish / technical manual / 4.x / reference / scripts / generic / cleanuppolicies.php


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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 eZ Publish 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

Sarah Haïm-Lubczanski (19/05/2014 1:27 pm)

Sarah Haïm-Lubczanski (20/05/2014 12:03 pm)


Comments

There are no comments.