src/AdminStore.php
public function authz_delete_user($uid) {
		$udata = $this->user_data;
		if ($udata['uid'] == 1 && $uid != 1)
			return true;
		if ($udata['uid'] == $uid)
			return true;
		return false;
	}
public function authz_delete_user($uid) {
		$udata = $this->user_data;
		if ($udata['uid'] == 1 && $uid != 1)
			return true;
		if ($udata['uid'] == $uid)
			return true;
		return false;
	}
public function authz_delete_user ( $ uid ) { $ udata = $ this -> user_data ; if ( $ udata [ 'uid' ] == 1 && $ uid != 1 ) return true ; if ( $ udata [ 'uid' ] == $ uid ) return true ; return false ; }
Default method to decide if user deletion is allowed.

This succeeds if current user is root, or if it's a case of
self-deletion for non-root user.

@param int $uid User ID to delete.
Default method to decide if user deletion is allowed .