From abd005d4fd268bc81731e1f67c310fcf177368a8 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 24 Dec 2011 15:32:35 +0000 Subject: [PATCH] Per Nikerabbit, follow-up r102024: removed uneeded variable --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 088eae859f..392d0fbeb1 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -371,7 +371,7 @@ class EditPage { # Use the normal message if there's nothing to display if ( $this->firsttime && $content === '' ) { $action = $this->mTitle->exists() ? 'edit' : - ( $permission = $this->mTitle->isTalkPage() ? 'createtalk' : 'createpage' ); + ( $this->mTitle->isTalkPage() ? 'createtalk' : 'createpage' ); throw new PermissionsError( $action, $permErrors ); } -- 2.20.1