Commit 981041181a6d3852f39eedc8a35c9592ab2aeedd

Authored by Jalaloedien Abrahams
1 parent 808f835d

KTS-1556

"It would be useful for the RSS plugin to be automatically registered."
Implemented.

Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6294 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/rssplugin/RSSPlugin.php
... ... @@ -25,6 +25,8 @@ require_once('RSSDocumentLinkAction.php');
25 25 }
26 26  
27 27 function setup() {
  28 + // automatically register the plugin
  29 + $this->autoRegister = true;
28 30 $this->registerAction('folderaction', 'RSSFolderLinkAction', 'ktcore.rss.plugin.folder.link', $sFilename = null);
29 31 $this->registerAction('documentaction', 'RSSDocumentLinkAction', 'ktcore.rss.plugin.document.link', $sFilename = null);
30 32 $this->registerDashlet('RSSDashlet', 'ktcore.rss.feed.dashlet', 'RSSDashlet.php');
... ...