foreach ( $wgHiddenPrefs as $item ) {
$dbw->delete(
'user_properties',
- array( 'up_property' => $item ),
+ [ 'up_property' => $item ],
__METHOD__
);
};
}
}
-$maintClass = 'CleanupPreferences'; // Tells it to run the class
+$maintClass = CleanupPreferences::class; // Tells it to run the class
require_once RUN_MAINTENANCE_IF_MAIN;