Skip to content

Commit

Permalink
MDL-19698 deprecated assign new by ref in portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 19, 2010
1 parent 8b59e62 commit 5d8c99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion portfolio/boxnet/simpletest/testportfoliopluginboxnet.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function setUp() {
global $DB;

parent::setUp();
$this->plugin = &new mock_boxnetplugin($this);
$this->plugin = new mock_boxnetplugin($this);
$this->plugin->boxclient = new mock_boxclient();

$settings = array('tiny' => 1, 'quiet' => 1, 'database_prefix' => 'tst_', 'pre_cleanup' => 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class testPortfolioPluginDownload extends portfoliolib_test {
public static $includecoverage = array('lib/portfoliolib.php', 'portfolio/download/lib.php');
public function setUp() {
parent::setUp();
$this->plugin = &new mock_boxnetplugin($this);
$this->plugin = new mock_boxnetplugin($this);
$this->plugin->boxclient = new mock_boxclient();
}

Expand Down

0 comments on commit 5d8c99a

Please sign in to comment.