public static function lostPassword() { $result = array(); if (lC_Login_Admin::lostPassword($_GET['email'])) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }