dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fa326
)
Added filearchive check to isInactiveAccount()
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 4 Aug 2011 17:43:06 +0000
(17:43 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 4 Aug 2011 17:43:06 +0000
(17:43 +0000)
maintenance/removeUnusedAccounts.php
patch
|
blob
|
history
diff --git
a/maintenance/removeUnusedAccounts.php
b/maintenance/removeUnusedAccounts.php
index
44c27b3
..
ba25efd
100644
(file)
--- 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();