Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-03-10 05:43:57 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-03-10 05:59:46 +0300
commit87577b6d8d1b3e1ca083f0a5d895a5643fd88339 (patch)
treedb8cbe095cc77beae216bf23eb707772351cff0e /core/Period.php
parentfb42debbaa840791b658041c83fcd6909880e06e (diff)
Remove deprecated Period::factory()
Diffstat (limited to 'core/Period.php')
-rw-r--r--core/Period.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/Period.php b/core/Period.php
index d4044ed68e..b924e981c8 100644
--- a/core/Period.php
+++ b/core/Period.php
@@ -9,7 +9,6 @@
namespace Piwik;
use Piwik\Container\StaticContainer;
-use Piwik\Period\Factory as PeriodFactory;
use Piwik\Period\Range;
use Piwik\Translation\Translator;
@@ -66,17 +65,6 @@ abstract class Period
}
/**
- * @deprecated Use Factory::build instead
- * @param $period
- * @param $date
- * @return Period
- */
- public static function factory($period, $date)
- {
- return PeriodFactory::build($period, $date);
- }
-
- /**
* Returns true if `$dateString` and `$period` represent multiple periods.
*
* Will return true for date/period combinations where date references multiple