summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/syntax.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php
index f7b64d8c0..127b92ce5 100644
--- a/lib/plugins/syntax.php
+++ b/lib/plugins/syntax.php
@@ -266,5 +266,14 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode {
return $conf;
}
+ /**
+ * Allow the plugin to prevent DokuWiki from reusing an instance
+ *
+ * @return bool false if the plugin has to be instantiated
+ */
+ function isSingleton() {
+ return true;
+ }
+
}
//Setup VIM: ex: et ts=4 enc=utf-8 :