cvs: pear /Translation2 Decorator.php

From: Date: Sun, 04 Jul 2004 21:00:45 +0000
Subject: cvs: pear /Translation2 Decorator.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21506@lists.php.net to get a copy of this message
quipo Sun Jul 4 17:00:45 2004 EDT Modified files: /pear/Translation2 Decorator.php Log: pass by ref is deprecated http://cvs.php.net/diff.php/pear/Translation2/Decorator.php?r1=1.6&r2=1.7&ty=u Index: pear/Translation2/Decorator.php diff -u pear/Translation2/Decorator.php:1.6 pear/Translation2/Decorator.php:1.7 --- pear/Translation2/Decorator.php:1.6 Wed Apr 28 07:23:50 2004 +++ pear/Translation2/Decorator.php Sun Jul 4 17:00:45 2004 @@ -16,11 +16,11 @@ // | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> | // +----------------------------------------------------------------------+ // -// $Id: Decorator.php,v 1.6 2004/04/28 11:23:50 quipo Exp $ +// $Id: Decorator.php,v 1.7 2004/07/04 21:00:45 quipo Exp $ // /** * @package Translation2 - * @version $Id: Decorator.php,v 1.6 2004/04/28 11:23:50 quipo Exp $ + * @version $Id: Decorator.php,v 1.7 2004/07/04 21:00:45 quipo Exp $ */ /** * Decorates a Translation2 class. @@ -126,9 +126,9 @@ { if (func_num_args() > 1) { $obj =& func_get_arg(1); - return $this->translation2->getDecorator($decorator, &$obj); + return $this->translation2->getDecorator($decorator, $obj); } else { - return $this->translation2->getDecorator($decorator, &$this); + return $this->translation2->getDecorator($decorator, $this); } }

« previous php.pear.cvs (#21506) next »