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:
63d093b
)
quick fix: add WHERE ar_deleted = 0. Nicer would be to make revision objects from...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 9 Mar 2009 09:08:40 +0000
(09:08 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 9 Mar 2009 09:08:40 +0000
(09:08 +0000)
includes/api/ApiQueryDeletedrevs.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryDeletedrevs.php
b/includes/api/ApiQueryDeletedrevs.php
index
adda49f
..
f2c2a14
100644
(file)
--- a/
includes/api/ApiQueryDeletedrevs.php
+++ b/
includes/api/ApiQueryDeletedrevs.php
@@
-76,6
+76,7
@@
class ApiQueryDeletedrevs extends ApiQueryBase {
$this->dieUsage('user and excludeuser cannot be used together', 'badparams');
$this->addTables('archive');
+ $this->addWhere('ar_deleted = 0');
$this->addFields(array('ar_title', 'ar_namespace', 'ar_timestamp'));
if($fld_revid)
$this->addFields('ar_rev_id');