From: Alexandre Emsenhuber Date: Thu, 17 Apr 2008 13:13:51 +0000 (+0000) Subject: Remove unused global declaration of $wgCookiePrefix in User::clearCookie() X-Git-Tag: 1.31.0-rc.0~48244 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=b1b5f90a9d1b20bcb5c97af4856ef9355083e2ba;p=lhc%2Fweb%2Fwiklou.git Remove unused global declaration of $wgCookiePrefix in User::clearCookie() --- diff --git a/includes/User.php b/includes/User.php index 9ead110e51..9ad7e18733 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2029,7 +2029,6 @@ class User { } protected function clearCookie( $name ) { - global $wgCookiePrefix; $this->setCookie( $name, '', time() - 86400 ); }