From: Mark A. Hershberger Date: Sun, 21 Feb 2010 22:47:40 +0000 (+0000) Subject: get rid of strict notice. X-Git-Tag: 1.31.0-rc.0~37664 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=9f0a66c6594911fca001501e23bc030a229d71b7;p=lhc%2Fweb%2Fwiklou.git get rid of strict notice. --- diff --git a/maintenance/deleteOldRevisions.php b/maintenance/deleteOldRevisions.php index a180000d70..1f4dc4c98e 100644 --- a/maintenance/deleteOldRevisions.php +++ b/maintenance/deleteOldRevisions.php @@ -66,6 +66,7 @@ class DeleteOldRevisions extends Maintenance { $this->output( "done.\n" ); # Get all revisions that aren't in this set + $old = array(); $this->output( "Searching for inactive revisions..." ); $set = implode( ', ', $cur ); $res = $dbw->query( "SELECT rev_id FROM $tbl_rev WHERE rev_id NOT IN ( $set ){$revPageClause}" );