[horde] Wrong return statements?
Christoph Fauck
christoph.fauck at fauck.info
Thu Apr 17 20:08:07 UTC 2008
Hi, everybody.
This is my first post here. If I'm being conspicuous, be lenient toward so, please:-)
I've found some curious return statements like:
mail:/usr/share/horde3# grep "return.*=.*new" * -R
lib/Horde/Config.php: return $doc = new Horde_Config_Document($file);
lib/Horde/Config.php: return $root = new Horde_Config_Element($this->node->documentElement);
passwd/lib/Driver.php: return $ret = &new $class($params);
Are you sure, that the return satatements are on purpose or accidentally?
Regards,
Christoph
More information about the horde
mailing list