Esempio n. 1
0
 public static function updateStatus()
 {
     $result = array();
     $updated = lC_Credit_cards_Admin::updateStatus($_GET['ccid'], $_GET['cstatus']);
     if ($updated) {
         $result['rpcStatus'] = RPC_STATUS_SUCCESS;
     }
     echo json_encode($result);
 }
Esempio n. 2
0
 public static function batchDelete($batch)
 {
     foreach ($batch as $id) {
         lC_Credit_cards_Admin::delete($id);
     }
     return true;
 }