public static function delete() { $vars = self::get_path_variables(); if (count($vars) == 1) { \lib\user::delete(reset($vars)); } return true; }