public function push_cache() { Com_Cache::push_cache(); Com_AdCache::push_common_cache(); }
public function commit() { if ($this->trans) { $this->trans--; } if (!$this->trans) { $result = Com_AdCache::push_cache(); if ($this->realTrans) { if ($result) { mysql_query('commit', $this->linkid); } else { // mysql_query('rollback', $this->linkid); } $this->trans = $this->realTrans = 0; } if ($result) { Com_Cache::push_cache(); } return $result; } return true; }