From: Max Semenik Date: Tue, 12 Oct 2010 18:16:53 +0000 (+0000) Subject: Piece I was going to commit in r74681 X-Git-Tag: 1.31.0-rc.0~34533 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=3024282d7a207b3f1d9e3fc96a04d36f3acb4733;p=lhc%2Fweb%2Fwiklou.git Piece I was going to commit in r74681 --- diff --git a/maintenance/install-utils.inc b/maintenance/install-utils.inc index c2c253e4a5..37f976cfa0 100644 --- a/maintenance/install-utils.inc +++ b/maintenance/install-utils.inc @@ -191,7 +191,8 @@ function dbsource( $fname, $db = false ) { function archive( $name ) { wfDeprecated( __METHOD__ ); - return DatabaseBase::patchPath( $name ); + $dbr = wfGetDB( DB_SLAVE ); + return $dbr->patchPath( $name ); } /**