Per Nikerabbit, follow-up r102024: removed uneeded variable
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 24 Dec 2011 15:32:35 +0000 (15:32 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 24 Dec 2011 15:32:35 +0000 (15:32 +0000)
includes/EditPage.php

index 088eae8..392d0fb 100644 (file)
@@ -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 );
                }