From 7b38480de52c1d042ea542e2d06913a8c9b645fc Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 17 Feb 2006 05:19:25 +0000 Subject: Add TApplicationComponent class and adjusted the relevant classes. --- framework/Web/THttpSession.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'framework/Web/THttpSession.php') diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php index 605b858a..1292b548 100644 --- a/framework/Web/THttpSession.php +++ b/framework/Web/THttpSession.php @@ -55,7 +55,7 @@ * @package System.Web * @since 3.0 */ -class THttpSession extends TComponent implements IteratorAggregate,ArrayAccess,IModule +class THttpSession extends TApplicationComponent implements IteratorAggregate,ArrayAccess,IModule { /** * @var boolean whether this module has been initialized @@ -606,14 +606,6 @@ class THttpSession extends TComponent implements IteratorAggregate,ArrayAccess,I { unset($_SESSION[$offset]); } - - /** - * @return TApplication application instance - */ - public function getApplication() - { - return Prado::getApplication(); - } } /** -- cgit v1.2.3