summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r--framework/Web/THttpResponse.php9
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