예제 #1
0
 public function backendOrders()
 {
     if ($this->getSettings('remove_expired')) {
         $m = new shopCouponModel();
         $m->query('DELETE FROM ' . $m->getTableName() . ' WHERE expire_datetime < ? AND used = 0', date('Y-m-d H:i:s'));
     }
     return array();
 }