public function delete($primary_value = '', $where = '') { if (empty($primary_value)) { return false; } $result = parent::delete($primary_value); $this->cache->delete($this->cache_prefix . $primary_value); return $result; }
public function delete($primary_value = '', $where = '') { $result = parent::delete($primary_value, $where); $this->cache->delete('popup-info-' . cdate('Y-m-d')); return $result; }
public function delete($primary_value = '', $where = '') { $result = parent::delete($primary_value, $where); $this->cache->delete('super-admin-list'); return $result; }