public static function batchDeleteLanguages() { $result = lC_Languages_Admin::batchDelete($_GET['batch']); if (isset($result['namesString']) && $result['namesString'] != null) { } else { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }