Exemple #1
0
 public static function deleteEntry()
 {
     $result = array();
     $deleted = lC_Zone_groups_Admin::deleteEntry($_GET['zaid']);
     if ($deleted) {
         $result['rpcStatus'] = RPC_STATUS_SUCCESS;
     }
     echo json_encode($result);
 }
 public static function batchDeleteEntries($batch)
 {
     foreach ($batch as $id) {
         lC_Zone_groups_Admin::deleteEntry($id);
     }
     return true;
 }