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