diff options
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/syntax.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index 7ded173cd..126e01952 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -266,5 +266,13 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode { return $conf; } + /** + * Allow the plugin to prevent DokuWiki creating a second instance of itself + * + * @return bool true if the plugin can not be instantiated more than once + */ + function isSingleton() { + return false; + } } //Setup VIM: ex: et ts=4 enc=utf-8 : |