From: Alexander Ebert Date: Mon, 25 Feb 2013 13:56:00 +0000 (+0100) Subject: getRequestURI() is now static X-Git-Tag: 2.0.0_Beta_1~457^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85dfad1360ffe89a4903a829847c3c93f9aa24e3;p=GitHub%2FWoltLab%2FWCF.git getRequestURI() is now static --- diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 57273bfa95..dc5feddc67 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -647,7 +647,7 @@ class WCF { * @return string */ public function getAnchor($fragment) { - return $this->getRequestURI() . '#' . $fragment; + return self::getRequestURI() . '#' . $fragment; } /** @@ -655,7 +655,7 @@ class WCF { * * @return string */ - public function getRequestURI() { + public static function getRequestURI() { // resolve path and query components $scriptName = $_SERVER['SCRIPT_NAME']; if (empty($_SERVER['PATH_INFO'])) {