Index: trunk/extensions/DSMW/includes/IntegrationFunctions.php |
— | — | @@ -207,7 +207,6 @@ |
208 | 208 | $indexNS = 0; |
209 | 209 | wfDebugLog( 'p2p', ' - function logootIntegrate : ' . $article ); |
210 | 210 | $dbr = wfGetDB( DB_SLAVE ); |
211 | | - $dbr->immediateBegin(); |
212 | 211 | if ( is_string( $article ) ) { |
213 | 212 | // if there is a space in the title, repalce by '_' |
214 | 213 | $article = str_replace( " ", "_", $article ); |
— | — | @@ -296,7 +295,6 @@ |
297 | 296 | */ |
298 | 297 | function logootIntegrateAtt( $article, $edit ) { |
299 | 298 | $dbr = wfGetDB( DB_SLAVE ); |
300 | | - $dbr->immediateBegin(); |
301 | 299 | $title = Title::newFromText( $article ); |
302 | 300 | $lastRevision = Revision::loadFromTitle( $dbr, $title ); |
303 | 301 | |