summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-11-29 01:50:37 +0000
committerxue <>2006-11-29 01:50:37 +0000
commit6ac4dbfdd6cce30d656393558b5e34852a7a3129 (patch)
tree58ce05476837b4fa4fd45844cc827ebce09510b9 /framework
parenta8b0d83c6b2635784d98d2814782590472359ec3 (diff)
redundant code removal.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TControl.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index e20e8e7d..41b26037 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -1192,8 +1192,6 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
{
if($this->_stage<self::CS_LOADED)
{
- if(($context=$this->getTemplateControl())===null)
- $context=$this;
if(isset($this->_rf[self::RF_ADAPTER]))
$this->_rf[self::RF_ADAPTER]->onLoad(null);
else