From 71ba7b122dbcd69e1a7d570260b0fb42df29d75f Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 24 Jun 2010 19:51:46 +0000 Subject: [PATCH] Remove dead code. Props nacin. git-svn-id: https://develop.svn.wordpress.org/trunk@15324 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 23a7bdfcf3..d36f47e9cd 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -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