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
path: root/core
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-03-12 00:25:56 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-03-16 04:58:26 +0300
commit3dabc9e1729b0c64240545b22387c4d36c9fbf3c (patch)
treeeedef8eed8c3e6caad01468be8a9829791f02e54 /core
parentbbae3aecca789e3bde2878f05e8d82ad5d064fa6 (diff)
Deprecate unsetInstance() and setSingletonInstance() in API classes
Diffstat (limited to 'core')
-rw-r--r--core/Plugin/API.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Plugin/API.php b/core/Plugin/API.php
index 162c9e02f2..40bd334f95 100644
--- a/core/Plugin/API.php
+++ b/core/Plugin/API.php
@@ -76,6 +76,7 @@ abstract class API
/**
* Used in tests only
* @ignore
+ * @deprecated
*/
public static function unsetInstance()
{
@@ -86,6 +87,7 @@ abstract class API
/**
* Sets the singleton instance. For testing purposes.
* @ignore
+ * @deprecated
*/
public static function setSingletonInstance($instance)
{