diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-03-29 12:44:02 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-03-29 12:44:02 +0200 |
commit | 187b5536f58354e627f88aead1dbfe0e8d6e7076 (patch) | |
tree | 19a1c87fbbfca0cd01e8f92c343ada759dbc7068 /lib/plugins/syntax.php | |
parent | f6ec8df813b28547ca3b04bb39f0ce670a6bb990 (diff) | |
download | rpg-187b5536f58354e627f88aead1dbfe0e8d6e7076.tar.gz rpg-187b5536f58354e627f88aead1dbfe0e8d6e7076.tar.bz2 |
Update syntax plugin base class (DOOM DO-OOM)
Diffstat (limited to 'lib/plugins/syntax.php')
-rw-r--r-- | lib/plugins/syntax.php | 9 |
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 : |