public static function batchDeleteEntries() { $result = array(); $deleted = lC_Administrators_log_Admin::batchDelete($_GET['batch']); if ($deleted) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }