getDbType()
Does the script need different DB access? By default, we give Maintenance scripts normal rights to th...
setup()
Do some sanity checking and basic setup.
finalSetup()
Handle some last-minute setup here.
globals()
Potentially debug globals.
static shouldExecute()
Should we execute the maintenance script, or just allow it to be included as a standalone class?...
const DB_NONE
Constants for DB access type.
loadSettings()
Generic setup for most installs.
if(!defined( 'RUN_MAINTENANCE_IF_MAIN')) if(!Maintenance::shouldExecute() && $maintClass !='CommandLineInc') if(! $maintClass||!class_exists( $maintClass)) $maintenance