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