Esempio n. 1
0
 /**
  * Delete the count discount selected by its ID from the GET request
  * @return    boolean             True on success, false otherwise
  * @author    Reto Kohli <*****@*****.**>
  */
 function delete_discount_count()
 {
     if (!isset($_GET['id'])) {
         return true;
     }
     $discountId = $_GET['id'];
     return Discount::deleteDiscountCount($discountId);
 }