X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=0cac64ab17058127eceb9a71704109d6ba123228;hb=a7f7f8cbcb14a2ca597b5510d2549e74b3617667;hp=2adda65a0342d373d37c173c7562ce9682b88fd4;hpb=152cd9e470b104284394ecf35eb085425ef57654;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index 2adda65a03..0cac64ab17 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2717,7 +2717,6 @@ class Title { return array( $this->mHasCascadingRestrictions, $pagerestrictions ); } - $dbr = wfGetDB( DB_SLAVE ); if ( $this->getNamespace() == NS_FILE ) {