Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php |
— | — | @@ -851,7 +851,7 @@ |
852 | 852 | $dbw = wfGetDB( DB_MASTER ); |
853 | 853 | // Don't allow simply locking the interface for no reason |
854 | 854 | if( $bitfield == Revision::DELETED_RESTRICTED ) { |
855 | | - $bitfield = 0; |
| 855 | + return false; |
856 | 856 | } |
857 | 857 | $deleter = new RevisionDeleter( $dbw ); |
858 | 858 | // By this point, only one of the below should be set |