X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=blobdiff_plain;f=maintenance%2Fshell.php;h=f5ebc025ee96e9b9ee16cb2f4fecf9a5824832a9;hb=45db9a49ccc2292bc48a180e77c62b752e1ce23f;hp=a67417fc09c166f7be5dcdafacf26717b1451886;hpb=32fd2342e5648ec7d37eecb00fc4044a3a7526a9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/shell.php b/maintenance/shell.php index a67417fc09..f5ebc025ee 100644 --- a/maintenance/shell.php +++ b/maintenance/shell.php @@ -93,8 +93,8 @@ class MediaWikiShell extends Maintenance { } if ( $d > 1 ) { # Set DBO_DEBUG (equivalent of $wgDebugDumpSql) - wfGetDB( DB_MASTER )->setFlag( DBO_DEBUG ); - wfGetDB( DB_REPLICA )->setFlag( DBO_DEBUG ); + $this->getDB( DB_MASTER )->setFlag( DBO_DEBUG ); + $this->getDB( DB_REPLICA )->setFlag( DBO_DEBUG ); } }