Index: trunk/extensions/SQL2Wiki/SQL2Wiki.body.php |
— | — | @@ -132,7 +132,7 @@ |
133 | 133 | $ignore = $this->mDB->ignoreErrors( true ); |
134 | 134 | $this->initDBMSOutput(); |
135 | 135 | |
136 | | - $this->mResult = $this->mDB->doQuery( $sql ); |
| 136 | + $this->mResult = $this->mDB->query( $sql ); |
137 | 137 | |
138 | 138 | $this->getDBMSOutput(); |
139 | 139 | $this->mDB->ignoreErrors( $ignore ); |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | return; |
183 | 183 | } |
184 | 184 | |
185 | | - $this->mDB->doQuery ('BEGIN dbms_output.enable(null); END;'); |
| 185 | + $this->mDB->query ('BEGIN dbms_output.enable(null); END;'); |
186 | 186 | } |
187 | 187 | |
188 | 188 | private function disableDBMSOutput() { |
— | — | @@ -189,7 +189,7 @@ |
190 | 190 | return; |
191 | 191 | } |
192 | 192 | |
193 | | - $this->mDB->doQuery ('BEGIN dbms_output.disable; END;'); |
| 193 | + $this->mDB->query ('BEGIN dbms_output.disable; END;'); |
194 | 194 | } |
195 | 195 | |
196 | 196 | private function getDBMSOutput() { |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | |
201 | 201 | $this->mOutput = array(); |
202 | 202 | |
203 | | - $ret = $dbObj->doQuery('SELECT column_value FROM TABLE(get_output_lines())'); |
| 203 | + $ret = $dbObj->query('SELECT column_value FROM TABLE(get_output_lines())'); |
204 | 204 | while(($line = $ret->fetchObject()) !== FALSE) { |
205 | 205 | $this->mOutput[] = $line->column_value; |
206 | 206 | } |
Index: trunk/extensions/LastUserLogin/LastUserLogin.php |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | if ( isset( $_COOKIE ) && isset( $_COOKIE["{$wgCookiePrefix}UserID"] ) ) { |
63 | 63 | $dbw = wfGetDB( DB_MASTER ); |
64 | 64 | $query = "UPDATE " . $dbw->tableName( 'user' ) . " SET user_touched = '" . $dbw->timestamp() . "' WHERE user_id = " . intval( $_COOKIE["{$wgCookiePrefix}UserID"] ); |
65 | | - $dbw->doQuery( $query ); |
| 65 | + $dbw->query( $query ); |
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
Index: trunk/extensions/OracleTextSearch/maintainenceFixOTSLinks.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $tbl_idx = $dbw->tableName( 'searchindex' ); |
34 | 34 | |
35 | 35 | $searchWhere = $all ? '' : ' AND NOT EXISTS (SELECT null FROM '.$tbl_idx.' WHERE si_page=p.page_id AND si_url IS NOT null)'; |
36 | | - $result = $dbw->doQuery('SELECT p.page_id FROM '.$tbl_pag.' p WHERE p.page_namespace = '.NS_FILE.$searchWhere ); |
| 36 | + $result = $dbw->query('SELECT p.page_id FROM '.$tbl_pag.' p WHERE p.page_namespace = '.NS_FILE.$searchWhere ); |
37 | 37 | $this->output( $result->numRows()." file(s) found\n" ); |
38 | 38 | |
39 | 39 | $syncIdx = false; |