From aa2edcf52ee7438876d826283274bf7e271fad4a Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 17 Nov 2005 15:28:20 +0000 Subject: Modified how errors are handled. --- framework/Data/TMemCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Data/TMemCache.php') diff --git a/framework/Data/TMemCache.php b/framework/Data/TMemCache.php index 4d952551..9786b467 100644 --- a/framework/Data/TMemCache.php +++ b/framework/Data/TMemCache.php @@ -97,7 +97,7 @@ class TMemCache extends TComponent implements IModule, ICache * This method is required by the IModule interface. It makes sure that * UniquePrefix has been set, creates a Memcache instance and connects * to the memcache server. - * @param IApplication Prado application, can be null + * @param TApplication Prado application, can be null * @param TXmlElement configuration for this module, can be null * @throws TConfigurationException if memcache extension is not installed or memcache sever connection fails */ @@ -108,7 +108,7 @@ class TMemCache extends TComponent implements IModule, ICache $this->_cache=new Memcache; if($this->_cache->connect($this->_host,$this->_port)===false) throw new TInvalidConfigurationException('memcache_connection_failed'); - if($application instanceof IApplication) + if($application instanceof TApplication) $this->_prefix=$application->getUniqueID(); $this->_initialized=true; $application->setCache($this); -- cgit v1.2.3