public function disableTSV($userId) { if (!User::isVerified()) { return array('success' => false, 'verify' => true); } if (is_nan($userId)) { throw new \Exception(L\get('Wrong_input_data')); } if (!Security::canEditUser($userId)) { throw new \Exception(L\get('Access_denied')); } return User::disableTSV($userId); }