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:
authorThomas Steur <thomas.steur@gmail.com>2016-03-10 00:55:45 +0300
committerThomas Steur <thomas.steur@gmail.com>2016-04-11 05:11:33 +0300
commitb52ae4e7e488e0474d67c54578e1d6c1aa066bff (patch)
treef94b02f774cbc24faaa18f29ee1e19fef8b338af /core/Plugin/API.php
parent6ba622a68a26792af8cc22131f488f7ff5189d2c (diff)
refs #7983 let plugins add or remove fields to websites and better settings api
Diffstat (limited to 'core/Plugin/API.php')
-rw-r--r--core/Plugin/API.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/Plugin/API.php b/core/Plugin/API.php
index c54e10a82b..0f48816af3 100644
--- a/core/Plugin/API.php
+++ b/core/Plugin/API.php
@@ -86,6 +86,16 @@ abstract class API
}
/**
+ * Used in tests only
+ * @ignore
+ * @deprecated
+ */
+ public static function unsetAllInstances()
+ {
+ self::$instances = array();
+ }
+
+ /**
* Sets the singleton instance. For testing purposes.
* @ignore
* @deprecated