diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2011-04-02 03:36:26 +0100 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2011-04-02 03:36:26 +0100 |
commit | efb973f8a33b893d0a4d46d6b733530833c4ad41 (patch) | |
tree | 9386f06b90a4fc6a5c31183793df17851ca0da26 /inc/plugin.php | |
parent | 344763ad4e90e41c8a94b0a69a527ff2d6319ab5 (diff) | |
parent | a3f9f75c2624b73c4a57bf2a346ae71bf6a5fb98 (diff) | |
download | rpg-efb973f8a33b893d0a4d46d6b733530833c4ad41.tar.gz rpg-efb973f8a33b893d0a4d46d6b733530833c4ad41.tar.bz2 |
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Diffstat (limited to 'inc/plugin.php')
-rw-r--r-- | inc/plugin.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/plugin.php b/inc/plugin.php index 628ae39b0..ec94433b6 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -33,7 +33,15 @@ class DokuWiki_Plugin { $parts = explode('_',get_class($this)); $info = DOKU_PLUGIN.'/'.$parts[2].'/plugin.info.txt'; if(@file_exists($info)) return confToHash($info); - trigger_error('getInfo() not implemented in '.get_class($this).' and '.$info.' not found', E_USER_WARNING); + + msg('getInfo() not implemented in '.get_class($this). + ' and '.$info.' not found.<br />This is a bug in the '. + $parts[2].' plugin and should be reported to the '. + 'plugin author.',-1); + return array( + 'date' => '0000-00-00', + 'name' => $parts[2].' plugin', + ); } // plugin introspection methods |