mResult is never used, removing it.
authorNicolas Dumazet <nicdumz@users.mediawiki.org>
Sun, 6 Jul 2008 10:12:41 +0000 (10:12 +0000)
committerNicolas Dumazet <nicdumz@users.mediawiki.org>
Sun, 6 Jul 2008 10:12:41 +0000 (10:12 +0000)
includes/HTMLCacheUpdate.php

index 9504bf2..7de2cb6 100644 (file)
@@ -27,7 +27,6 @@ class HTMLCacheUpdate
 {
        public $mTitle, $mTable, $mPrefix;
        public $mRowsPerJob, $mRowsPerQuery;
-       public $mResult;
 
        function __construct( $titleTo, $table ) {
                global $wgUpdateRowsPerJob, $wgUpdateRowsPerQuery;
@@ -43,7 +42,7 @@ class HTMLCacheUpdate
                $cond = $this->getToCondition();
                $dbr = wfGetDB( DB_SLAVE );
                $res = $dbr->select( $this->mTable, $this->getFromField(), $cond, __METHOD__ );
-               $this->mResult = $res;
+
                if ( $dbr->numRows( $res ) != 0 ) {
                        if ( $dbr->numRows( $res ) > $this->mRowsPerJob ) {
                                $this->insertJobs( $res );