diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-12 00:25:56 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-03-16 04:58:26 +0300 |
commit | 3dabc9e1729b0c64240545b22387c4d36c9fbf3c (patch) | |
tree | eedef8eed8c3e6caad01468be8a9829791f02e54 /core | |
parent | bbae3aecca789e3bde2878f05e8d82ad5d064fa6 (diff) |
Deprecate unsetInstance() and setSingletonInstance() in API classes
Diffstat (limited to 'core')
-rw-r--r-- | core/Plugin/API.php | 2 |
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) { |