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:
Diffstat (limited to 'core/DeviceDetectorFactory.php')
-rw-r--r--core/DeviceDetectorFactory.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/DeviceDetectorFactory.php b/core/DeviceDetectorFactory.php
deleted file mode 100644
index 1d392cf955..0000000000
--- a/core/DeviceDetectorFactory.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * Piwik - free/libre analytics platform
- *
- * @link https://matomo.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- *
- */
-namespace Piwik;
-
-use DeviceDetector\DeviceDetector;
-use Piwik\Container\StaticContainer;
-
-class DeviceDetectorFactory
-{
- /**
- * Returns a Singleton instance of DeviceDetector for the given user agent.
- * @param string $userAgent
- * @return DeviceDetector
- * @deprecated Should get a factory via StaticContainer and call makeInstance() on it instead
- */
- public static function getInstance($userAgent)
- {
- $factory = StaticContainer::get(\Piwik\DeviceDetector\DeviceDetectorFactory::class);
- return $factory->makeInstance($userAgent);
- }
-} \ No newline at end of file