X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupWatchlist.php;h=5e3aee7402d2ab99aa0d773486f4c7a20f7b0206;hb=43e4cd5b434b2202c9ba39680a27dc92ad47b78f;hp=9728ac5ded89eb75118647e88c6b030ab9eb1ab4;hpb=e5facc46bc170c302438f60849041b0d6be75e82;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupWatchlist.php b/maintenance/cleanupWatchlist.php index 9728ac5ded..5e3aee7402 100644 --- a/maintenance/cleanupWatchlist.php +++ b/maintenance/cleanupWatchlist.php @@ -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;