From 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 13 Oct 2015 22:19:17 -0400 Subject: Change namespace to add Kanboard as prefix --- doc/plugins.markdown | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'doc/plugins.markdown') diff --git a/doc/plugins.markdown b/doc/plugins.markdown index 9e0a4cfe..0a0577f9 100644 --- a/doc/plugins.markdown +++ b/doc/plugins.markdown @@ -45,9 +45,9 @@ Example of `Plugin.php` file (`plugins/Foobar/Plugin.php`): ```php hook->on('hook_name', $callable); @@ -169,9 +169,9 @@ Example to add a new stylesheet: ```php action->extendActions( - '\Plugin\AutomaticAction\Action\SendSlackMessage', // Use absolute namespace + '\Kanboard\Plugin\AutomaticAction\Action\SendSlackMessage', // Use absolute namespace t('Send a message to Slack when the task color change') ); } @@ -337,9 +337,11 @@ If you would like to replace the default HTTP Content Security Policy header, yo ```php