Remove dead code. Props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@15324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-06-24 19:51:46 +00:00
parent 9879c27093
commit 71ba7b122d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ require_once('./admin.php');
if ( is_multisite() ) {
$menu_perms = get_site_option( 'menu_items', array() );
if ( empty($menu_perms['plugins'] ) || $menu_perms['plugins'] != 1 ) {
if ( empty( $menu_perms['plugins'] ) ) {
if ( ! is_super_admin() )
wp_die( __( 'Cheatin’ uh?' ) );
else