[limb-svn] r6998 - in 3.x/trunk/limb: core/src dbal/src/drivers
svn at limb-project.com
svn at limb-project.com
Sun May 11 10:24:20 MSD 2008
Author: svk
Date: 2008-05-11 10:24:20 +0400 (Sun, 11 May 2008)
New Revision: 6998
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6998
Modified:
3.x/trunk/limb/core/src/lmbDecorator.class.php
3.x/trunk/limb/dbal/src/drivers/lmbAuditDbConnection.class.php
Log:
-- __call moved from lmbAuditDbConnection to lmbDecorator
Modified: 3.x/trunk/limb/core/src/lmbDecorator.class.php
===================================================================
--- 3.x/trunk/limb/core/src/lmbDecorator.class.php 2008-05-10 14:34:04 UTC (rev 6997)
+++ 3.x/trunk/limb/core/src/lmbDecorator.class.php 2008-05-11 06:24:20 UTC (rev 6998)
@@ -29,6 +29,11 @@
$this->original = $original;
}
+ function __call($method, $args = array())
+ {
+ return $this->___invoke($method, $args);
+ }
+
protected function ___invoke($method, $args = array())
{
return call_user_func_array(array($this->original, $method), $args);
Modified: 3.x/trunk/limb/dbal/src/drivers/lmbAuditDbConnection.class.php
===================================================================
--- 3.x/trunk/limb/dbal/src/drivers/lmbAuditDbConnection.class.php 2008-05-10 14:34:04 UTC (rev 6997)
+++ 3.x/trunk/limb/dbal/src/drivers/lmbAuditDbConnection.class.php 2008-05-11 06:24:20 UTC (rev 6998)
@@ -88,10 +88,6 @@
return $this->stats;
}
- function __call($method, $args)
- {
- return call_user_func_array(array($this->original, $method), $args);
- }
}
More information about the limb-svn
mailing list