From bd5250cc03eff80fcc3da302bc76a06d6a618a42 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 4 Aug 2011 17:43:06 +0000 Subject: [PATCH] Added filearchive check to isInactiveAccount() --- maintenance/removeUnusedAccounts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1