public function execute() {
$begin = $this->getOption( 'begin', '' );
$throttle = $this->getOption( 'throttle', 0 );
- $force = $this->getOption( 'force', false );
+ $force = $this->hasOption( 'force' );
$dbw = $this->getDB( DB_MASTER );
}
}
-$maintClass = "PopulateCategory";
+$maintClass = PopulateCategory::class;
require_once RUN_MAINTENANCE_IF_MAIN;