class AllTrans extends Maintenance {
public function __construct() {
parent::__construct();
- $this->mDescription = "Get all messages as defined by the English language file";
+ $this->addDescription( 'Get all messages as defined by the English language file' );
}
public function execute() {
}
}
-$maintClass = "AllTrans";
+$maintClass = AllTrans::class;
require_once RUN_MAINTENANCE_IF_MAIN;