dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variables/globals
[lhc/web/wiklou.git]
/
includes
/
revisiondelete
/
RevisionDelete.php
diff --git
a/includes/revisiondelete/RevisionDelete.php
b/includes/revisiondelete/RevisionDelete.php
index
5b6e63e
..
9f79837
100644
(file)
--- a/
includes/revisiondelete/RevisionDelete.php
+++ b/
includes/revisiondelete/RevisionDelete.php
@@
-53,10
+53,10
@@
class RevDel_RevisionList extends RevDel_List {
} else {
// Combine the two! Whee
$rows = array();
} else {
// Combine the two! Whee
$rows = array();
-
while ( $row = $live->fetchObject()
) {
+
foreach ( $live as $row
) {
$rows[$row->rev_id] = $row;
}
$rows[$row->rev_id] = $row;
}
-
while ( $row = $archived->fetchObject()
) {
+
foreach ( $archived as $row
) {
$rows[$row->ar_rev_id] = $row;
}
krsort( $rows );
$rows[$row->ar_rev_id] = $row;
}
krsort( $rows );