Added filearchive check to isInactiveAccount()
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 4 Aug 2011 17:43:06 +0000 (17:43 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 4 Aug 2011 17:43:06 +0000 (17:43 +0000)
maintenance/removeUnusedAccounts.php

index 44c27b3..ba25efd 100644 (file)
@@ -92,7 +92,7 @@ class RemoveUnusedAccounts extends Maintenance {
        private function isInactiveAccount( $id, $master = false ) {
                $dbo = wfGetDB( $master ? DB_MASTER : DB_SLAVE );
                $checks = array( 'revision' => 'rev', 'archive' => 'ar', 'logging' => 'log',
-                                                'image' => 'img', 'oldimage' => 'oi' );
+                                                'image' => 'img', 'oldimage' => 'oi', 'filearchive' => 'fa' );
                $count = 0;
 
                $dbo->begin();