From a0c4d94dce77443ef142dc63b7b9f336bac9668d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 12 Oct 2005 06:14:47 +0000 Subject: [PATCH] * Using static there produces some satanic error message --- includes/SpecialPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 97b42fad91..690bc849dc 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -182,7 +182,7 @@ class SpecialPage function getRedirect( $name ) { global $wgUser; - static $redirects = array( + $redirects = array( 'Mypage' => Title::makeTitle( NS_USER, $wgUser->getName() ), 'Mytalk' => Title::makeTitle( NS_USER_TALK, $wgUser->getName() ), 'Mycontributions' => Title::makeTitle( NS_SPECIAL, 'Contributions/' . $wgUser->getName() ), -- 2.20.1