summaryrefslogtreecommitdiff
path: root/inc/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/plugin.php')
-rw-r--r--inc/plugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/plugin.php b/inc/plugin.php
index 364534739..aff07c1e5 100644
--- a/inc/plugin.php
+++ b/inc/plugin.php
@@ -231,12 +231,12 @@ class DokuWiki_Plugin {
}
/**
- * Allow the plugin to prevent DokuWiki creating a second instance of itself
+ * Allow the plugin to prevent DokuWiki from reusing an instance
*
- * @return bool true if the plugin can not be instantiated more than once
+ * @return bool false if the plugin has to be instantiated
*/
function isSingleton() {
- return false;
+ return true;
}
// deprecated functions