summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap
diff options
context:
space:
mode:
authorwei <>2007-02-27 23:48:49 +0000
committerwei <>2007-02-27 23:48:49 +0000
commit7a9626af3bef5c712901597065745d9572c3f097 (patch)
treeb63b6c5ef530004ac40d57c2b58ddca773bea05d /tests/simple_unit/SqlMap
parent4c86659bc90d9134b0f901572c5417aa7d9cec18 (diff)
BC: Deprecate TActiveRecord::getRecordFinder() in favour of TActiveRecord::finder().
Diffstat (limited to 'tests/simple_unit/SqlMap')
-rw-r--r--tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php b/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
index 9dc944f5..1f018a02 100644
--- a/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
+++ b/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
@@ -16,9 +16,9 @@ class ActiveAccount extends TActiveRecord
private static $_tablename='Accounts';
- public static function finder()
+ public static function finder($className=__CLASS__)
{
- return self::getRecordFinder('ActiveAccount');
+ return parent::finder($className);
}
}