X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=docs%2Fmaintenance.txt;h=27619c8622f7916f6cdc32aca370d924ceeb6246;hb=3a26db55ab4ba908b76cd9982794d1eeafb4afa0;hp=91287688c1b5fe73d2256b76f362ced4636774d3;hpb=a1c51e18af85a9ac464c5b555921e58ec422cd11;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/maintenance.txt b/docs/maintenance.txt index 91287688c1..27619c8622 100644 --- a/docs/maintenance.txt +++ b/docs/maintenance.txt @@ -15,7 +15,7 @@ subdirectories, all of which have unique purposes. level /maintenance directory. Example: - php clear_stats.php + php clearCacheStats.php The following parameters are available to all maintenance scripts --help : Print a help message @@ -42,12 +42,12 @@ class DemoMaint extends Maintenance { parent::__construct(); } - protected function execute() { + public function execute() { } } $maintClass = "DemoMaint"; -require_once( DO_MAINTENANCE ); +require_once( RUN_MAINTENANCE_IF_MAIN ); ==END==