Skip to content

Commit

Permalink
Removing some more PHP 5.4/5.5 incompatibilities.
Browse files Browse the repository at this point in the history
refs #3722
  • Loading branch information
halfdan committed Feb 4, 2013
1 parent 38a3e1e commit 911cfdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/PHPUnit/BenchmarkTestCase.php
Expand Up @@ -78,7 +78,7 @@ public static function tearDownAfterClass()
{
// only drop the database if PIWIK_BENCHMARK_DATABASE isn't set
$dropDatabase = empty($GLOBALS['PIWIK_BENCHMARK_DATABASE']);
parent::tearDownAfterClass($dropDatabase);
parent::_tearDownAfterClass($dropDatabase);
}

/**
Expand Down
7 changes: 6 additions & 1 deletion tests/PHPUnit/IntegrationTestCase.php
Expand Up @@ -123,7 +123,12 @@ public static function _setUpBeforeClass( $dbName = false, $createEmptyDatabase
self::setApiToCall( array());
}

public static function tearDownAfterClass( $dropDatabase = true )
public static function tearDownAfterClass()
{
self::_tearDownAfterClass();
}

public static function _tearDownAfterClass( $dropDatabase = true )
{
Piwik::$piwikUrlCache = null;

Expand Down

0 comments on commit 911cfdb

Please sign in to comment.