예제 #1
0
 public function push_cache()
 {
     Com_Cache::push_cache();
     Com_AdCache::push_common_cache();
 }
예제 #2
0
파일: Db.php 프로젝트: bluefan/phpsource
 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;
 }