diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-03-10 00:55:45 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-04-11 05:11:33 +0300 |
commit | b52ae4e7e488e0474d67c54578e1d6c1aa066bff (patch) | |
tree | f94b02f774cbc24faaa18f29ee1e19fef8b338af /core/Plugin/API.php | |
parent | 6ba622a68a26792af8cc22131f488f7ff5189d2c (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.php | 10 |
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 |