diff options
author | xue <> | 2006-02-17 05:19:25 +0000 |
---|---|---|
committer | xue <> | 2006-02-17 05:19:25 +0000 |
commit | 7b38480de52c1d042ea542e2d06913a8c9b645fc (patch) | |
tree | 67ff025fb171a5325ac8fdc75a281ce8a19a2bd5 /framework/Web/THttpResponse.php | |
parent | ae1c1995b2fec431afe7cca23b2697e1bef17baf (diff) |
Add TApplicationComponent class and adjusted the relevant classes.
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r-- | framework/Web/THttpResponse.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index 3da9a5d5..1607b9d5 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -79,6 +79,7 @@ class THttpResponse extends TModule implements ITextWriter {
if($this->_bufferOutput)
@ob_end_flush();
+ parent::__destruct();
}
/**
@@ -395,14 +396,6 @@ class THttpResponse extends TModule implements ITextWriter $type=$this->_htmlWriterType;
return Prado::createComponent($type,$this);
}
-
- /**
- * @return THttpRequest request module
- */
- public function getRequest()
- {
- return $this->getApplication()->getRequest();
- }
}
?>
\ No newline at end of file |