Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -371,7 +371,7 @@ |
372 | 372 | # Use the normal message if there's nothing to display |
373 | 373 | if ( $this->firsttime && $content === '' ) { |
374 | 374 | $action = $this->mTitle->exists() ? 'edit' : |
375 | | - ( $permission = $this->mTitle->isTalkPage() ? 'createtalk' : 'createpage' ); |
| 375 | + ( $this->mTitle->isTalkPage() ? 'createtalk' : 'createpage' ); |
376 | 376 | throw new PermissionsError( $action, $permErrors ); |
377 | 377 | } |
378 | 378 | |