public function resetCache() {
		// only reset caches if cache link is present
		if (!empty($this->db_object->object->options['cache_link'])) {
			$tags = array_unique($this->cache_tags);
			sort($tags, SORT_STRING);
			$hash = sha1(serialize($tags));
			\Cache::$reset_caches[$this->db_object->object->options['cache_link']][$hash] = $tags;
		}
	}
public function resetCache() {
		// only reset caches if cache link is present
		if (!empty($this->db_object->object->options['cache_link'])) {
			$tags = array_unique($this->cache_tags);
			sort($tags, SORT_STRING);
			$hash = sha1(serialize($tags));
			\Cache::$reset_caches[$this->db_object->object->options['cache_link']][$hash] = $tags;
		}
	}
public function resetCache ( ) { // only reset caches if cache link is present if ( ! empty ( $ this -> db_object -> object -> options [ 'cache_link' ] ) ) { $ tags = array_unique ( $ this -> cache_tags ) ; sort ( $ tags , SORT_STRING ) ; $ hash = sha1 ( serialize ( $ tags ) ) ; \ Cache :: $ reset_caches [ $ this -> db_object -> object -> options [ 'cache_link' ] ] [ $ hash ] = $ tags ; } }
Reset caches on exit
Reset caches on exit