Remove dead code. Props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-06-24 19:51:46 +00:00
parent 4bb09d0382
commit ea91074608

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