Index: trunk/extensions/FlaggedRevs/api/ApiQueryFlagged.php |
— | — | @@ -56,7 +56,6 @@ |
57 | 57 | $data['pending_since'] = wfTimestamp( TS_ISO_8601, $row->fp_pending_since ); |
58 | 58 | $result->addValue( array( 'query', 'pages', $pageid ), 'flagged', $data ); |
59 | 59 | } |
60 | | - $db->freeResult( $res ); |
61 | 60 | } |
62 | 61 | |
63 | 62 | public function getCacheMode( $params ) { |
Index: trunk/extensions/FlaggedRevs/api/ApiQueryOldreviewedpages.php |
— | — | @@ -140,7 +140,6 @@ |
141 | 141 | $resultPageSet->processDbRow( $row ); |
142 | 142 | } |
143 | 143 | } |
144 | | - $db->freeResult( $res ); |
145 | 144 | |
146 | 145 | if ( is_null( $resultPageSet ) ) { |
147 | 146 | $result = $this->getResult(); |
Index: trunk/extensions/FlaggedRevs/api/ApiQueryReviewedpages.php |
— | — | @@ -110,7 +110,6 @@ |
111 | 111 | $resultPageSet->processDbRow( $row ); |
112 | 112 | } |
113 | 113 | } |
114 | | - $db->freeResult( $res ); |
115 | 114 | |
116 | 115 | if ( is_null( $resultPageSet ) ) { |
117 | 116 | $result = $this->getResult(); |
Index: trunk/extensions/FlaggedRevs/api/ApiQueryUnreviewedpages.php |
— | — | @@ -108,7 +108,6 @@ |
109 | 109 | $resultPageSet->processDbRow( $row ); |
110 | 110 | } |
111 | 111 | } |
112 | | - $db->freeResult( $res ); |
113 | 112 | |
114 | 113 | if ( is_null( $resultPageSet ) ) { |
115 | 114 | $result = $this->getResult(); |
Index: trunk/extensions/FlaggedRevs/api/FlaggedRevsApi.hooks.php |
— | — | @@ -80,7 +80,6 @@ |
81 | 81 | $data |
82 | 82 | ); |
83 | 83 | } |
84 | | - $db->freeResult( $res ); |
85 | 84 | return true; |
86 | 85 | } |
87 | 86 | |