summaryrefslogtreecommitdiff
path: root/framework/Testing/Data/ActiveRecord/TActiveRecord.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-20 10:48:45 +0000
committerctrlaltca@gmail.com <>2011-06-20 10:48:45 +0000
commit656c339879a071f2f875831281ed833b876e4361 (patch)
treeb6f11d3ad8cb1f61b10b4e3b9fcb0a7d4d30f9e1 /framework/Testing/Data/ActiveRecord/TActiveRecord.php
parent0956370d34e2eefd0b5e556a6aaca6297ce1e3ce (diff)
removed useless calls to empty contructor; reverted some additional undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously
Diffstat (limited to 'framework/Testing/Data/ActiveRecord/TActiveRecord.php')
-rw-r--r--framework/Testing/Data/ActiveRecord/TActiveRecord.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Testing/Data/ActiveRecord/TActiveRecord.php b/framework/Testing/Data/ActiveRecord/TActiveRecord.php
index e1484f03..8d6c5e10 100644
--- a/framework/Testing/Data/ActiveRecord/TActiveRecord.php
+++ b/framework/Testing/Data/ActiveRecord/TActiveRecord.php
@@ -68,8 +68,7 @@ abstract class TActiveRecord extends TModel
{
if($scenario===null) // internally used by populateRecord() and model()
return;
-
- parent::__construct();
+
$this->setScenario($scenario);
$this->setIsNewRecord(true);
$this->_attributes=$this->getMetaData()->attributeDefaults;