cvs: pear /Translation2 Admin.php
| From: | Lorenzo Alberton | Date: | Thu, 13 Oct 2005 06:41:43 +0000 |
| Subject: | cvs: pear /Translation2 Admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35486@lists.php.net to get a copy of this message | ||
quipo Thu Oct 13 02:41:43 2005 EDT
Modified files:
/pear/Translation2 Admin.php
Log:
save one line
http://cvs.php.net/diff.php/pear/Translation2/Admin.php?r1=1.17&r2=1.18&ty=u
Index: pear/Translation2/Admin.php
diff -u pear/Translation2/Admin.php:1.17 pear/Translation2/Admin.php:1.18
--- pear/Translation2/Admin.php:1.17 Thu Oct 13 01:30:44 2005
+++ pear/Translation2/Admin.php Thu Oct 13 02:41:39 2005
@@ -32,7 +32,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2004-2005 Lorenzo Alberton
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: Admin.php,v 1.17 2005/10/13 05:30:44 ieure Exp $
+ * @version CVS: $Id: Admin.php,v 1.18 2005/10/13 06:41:39 quipo Exp $
* @link http://pear.php.net/package/Translation2
*/
@@ -154,11 +154,10 @@
if (func_num_args() > 1) {
$obj =& func_get_arg(1);
$ret = new $decorator_class($obj);
- return $ret;
} else {
$ret = new $decorator_class($this);
- return $ret;
}
+ return $ret;
}
// }}}