public static function setActiveUser() { $rules = ['email' => FILTER_SANITIZE_STRING, 'key' => FILTER_SANITIZE_STRING]; $data = filter_input_array(INPUT_GET, $rules); $params["mail"] = urldecode($data['email']); $params["aktiven"] = "da"; return UsersDB::userSetActive($params); }