MDL-19698 deprecated assign new by ref in simpletest lib

This commit is contained in:
Petr Skoda
2010-07-19 08:53:16 +00:00
parent 0ad09db03b
commit 0a8f8a65cd
21 changed files with 68 additions and 69 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class SimpleExpectation {
*/
function &_getDumper() {
if (! $this->_dumper) {
$dumper = &new SimpleDumper();
$dumper = new SimpleDumper();
return $dumper;
}
return $this->_dumper;