summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-02-19 00:53:40 +0000
committerxue <>2006-02-19 00:53:40 +0000
commitf401d7f1372240798e0470fb90bdbed83d5da452 (patch)
tree82cc86ec1426a33a2233201e289c2d65f3f0cfa4
parent270282e3a26b21184a2051995cb5b9a2755b823d (diff)
Fixed a bug of calling destructor.
-rw-r--r--demos/quickstart/protected/pages/Controls/DataGrid1.page2
-rw-r--r--framework/Data/TMemCache.php1
-rw-r--r--framework/Data/TSqliteCache.php1
3 files changed, 1 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Controls/DataGrid1.page b/demos/quickstart/protected/pages/Controls/DataGrid1.page
index be44d1e1..dde372f5 100644
--- a/demos/quickstart/protected/pages/Controls/DataGrid1.page
+++ b/demos/quickstart/protected/pages/Controls/DataGrid1.page
@@ -24,7 +24,7 @@ PRADO provides five types of columns:
<li><tt>TCheckBoxColumn</tt> associates cells with a specific field of data and displays in each cell a checkbox whose check state is determined by the data field value.</li>
<li><tt>THyperLinkColumn</tt> displays in the cells a hyperlink whose caption and URL can be either statically specified or bound to some fields of data.</li>
<li><tt>TEditCommandColumn</tt> displays in the cells edit/update/cancel command buttons according to the state of the item that a cell resides in.</li>
- <li><tt>TButtonColumn</tt> displays in the cells a command button.
+ <li><tt>TButtonColumn</tt> displays in the cells a command button.</li>
<li><tt>TTemplateColumn</tt> displays the cells according to different templates defined for it.</li>
</ul>
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();
}
/**