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