This is only for use in the Network admin when it is always multisite.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
PeteMall 2010-12-15 19:11:55 +00:00
parent dd86bd529f
commit 527a1381d6
1 changed files with 0 additions and 3 deletions

View File

@ -9,9 +9,6 @@
class WP_MS_Users_List_Table extends WP_List_Table {
function check_permissions() {
if ( !is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
if ( ! current_user_can( 'manage_network_users' ) )
wp_die( __( 'You do not have permission to access this page.' ) );
}