summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorxue <>2006-02-19 00:53:40 +0000
committerxue <>2006-02-19 00:53:40 +0000
commitf401d7f1372240798e0470fb90bdbed83d5da452 (patch)
tree82cc86ec1426a33a2233201e289c2d65f3f0cfa4 /framework/Data
parent270282e3a26b21184a2051995cb5b9a2755b823d (diff)
Fixed a bug of calling destructor.
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/TMemCache.php1
-rw-r--r--framework/Data/TSqliteCache.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/framework/Data/TMemCache.php b/framework/Data/TMemCache.php
index 08f5e099..f6ff7da8 100644
--- a/framework/Data/TMemCache.php
+++ b/framework/Data/TMemCache.php
@@ -93,7 +93,6 @@ class TMemCache extends TModule implements ICache
{
if($this->_cache!==null)
$this->_cache->close();
- parent::__destruct();
}
/**
diff --git a/framework/Data/TSqliteCache.php b/framework/Data/TSqliteCache.php
index 07cd91e0..6d9a44c5 100644
--- a/framework/Data/TSqliteCache.php
+++ b/framework/Data/TSqliteCache.php
@@ -100,7 +100,6 @@ class TSqliteCache extends TModule implements ICache
public function __destruct()
{
$this->_db=null;
- parent::__destruct();
}
/**