Add maintenance script for resetting login/signup throttle
[lhc/web/wiklou.git] / maintenance / cleanupWatchlist.php
index 9728ac5..5e3aee7 100644 (file)
@@ -36,7 +36,7 @@ require_once __DIR__ . '/cleanupTable.inc';
  *
  * @ingroup Maintenance
  */
-class WatchlistCleanup extends TableCleanup {
+class CleanupWatchlist extends TableCleanup {
        protected $defaultParams = [
                'table' => 'watchlist',
                'index' => [ 'wl_user', 'wl_namespace', 'wl_title' ],
@@ -95,5 +95,5 @@ class WatchlistCleanup extends TableCleanup {
        }
 }
 
-$maintClass = "WatchlistCleanup";
+$maintClass = CleanupWatchlist::class;
 require_once RUN_MAINTENANCE_IF_MAIN;