From f401d7f1372240798e0470fb90bdbed83d5da452 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 19 Feb 2006 00:53:40 +0000 Subject: Fixed a bug of calling destructor. --- demos/quickstart/protected/pages/Controls/DataGrid1.page | 2 +- framework/Data/TMemCache.php | 1 - framework/Data/TSqliteCache.php | 1 - 3 files changed, 1 insertion(+), 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:
  • TCheckBoxColumn 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.
  • THyperLinkColumn displays in the cells a hyperlink whose caption and URL can be either statically specified or bound to some fields of data.
  • TEditCommandColumn displays in the cells edit/update/cancel command buttons according to the state of the item that a cell resides in.
  • -
  • TButtonColumn displays in the cells a command button. +
  • TButtonColumn displays in the cells a command button.
  • TTemplateColumn displays the cells according to different templates defined for it.
  • 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(); } /** -- cgit v1.2.3