/** * Check is a given user exists - send json error msg if not * @param string $user */ public static function checkUserExists($user) { \OC_JSON::checkUserExists($user); }