public static function deleteEntry() { $result = array(); $deleted = lC_Whos_online_Admin::delete($_GET['sid']); if ($deleted) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }
public static function batchDelete($batch) { foreach ($batch as $id) { lC_Whos_online_Admin::delete($id); } return true; }