From: Aaron Schulz Date: Thu, 4 Aug 2011 17:43:06 +0000 (+0000) Subject: Added filearchive check to isInactiveAccount() X-Git-Tag: 1.31.0-rc.0~28441 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=bd5250cc03eff80fcc3da302bc76a06d6a618a42;p=lhc%2Fweb%2Fwiklou.git Added filearchive check to isInactiveAccount() --- diff --git a/maintenance/removeUnusedAccounts.php b/maintenance/removeUnusedAccounts.php index 44c27b358e..ba25efdd51 100644 --- a/maintenance/removeUnusedAccounts.php +++ b/maintenance/removeUnusedAccounts.php @@ -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();