Big attack on unused variables...
[lhc/web/wiklou.git] / includes / Title.php
index 0cdcfeb..3dd12de 100644 (file)
@@ -1264,8 +1264,6 @@ class Title {
                                $errors[] = array( 'cant-move-to-user-page' );
                        }
                } elseif ( !$user->isAllowed( $action ) ) {
-                       $return = null;
-
                        // We avoid expensive display logic for quickUserCan's and such
                        $groups = false;
                        if ( !$short ) {