diff --git a/plugins/FeedsFetcher.inc b/plugins/FeedsFetcher.inc index faca86391c9970773e39fd4ea236b372f6be0b97..33457de660afd23e54194ad82d99fdcb53a9ae50 100644 --- a/plugins/FeedsFetcher.inc +++ b/plugins/FeedsFetcher.inc @@ -116,7 +116,7 @@ abstract class FeedsFetcher extends FeedsPlugin { /** * Implements FeedsPlugin::pluginType(). */ - public static function pluginType() { + public function pluginType() { return 'fetcher'; } diff --git a/plugins/FeedsParser.inc b/plugins/FeedsParser.inc index d63ea4326cda5f1ed81867539fcf24fd9e071a08..8772e32efb00e54d3dcbbaa7c75f2091d19131c6 100644 --- a/plugins/FeedsParser.inc +++ b/plugins/FeedsParser.inc @@ -56,7 +56,7 @@ abstract class FeedsParser extends FeedsPlugin { /** * Implements FeedsPlugin::pluginType(). */ - public static function pluginType() { + public function pluginType() { return 'parser'; } diff --git a/plugins/FeedsPlugin.inc b/plugins/FeedsPlugin.inc index 97953ff2e383a8631c4bd9856bce115540a4a84e..ac63f2d46c6477bd1a4a766ee0ed9fb7cf99b3b9 100644 --- a/plugins/FeedsPlugin.inc +++ b/plugins/FeedsPlugin.inc @@ -35,7 +35,7 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter * @return string * One of either 'fetcher', 'parser', or 'processor'. */ - abstract public static function pluginType(); + abstract public function pluginType(); /** * Save changes to the configuration of this object. @@ -211,6 +211,9 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter * Used when a plugin is missing. */ class FeedsMissingPlugin extends FeedsPlugin { + public function pluginType() { + return 'missing'; + } public function menuItem() { return array(); } diff --git a/plugins/FeedsProcessor.inc b/plugins/FeedsProcessor.inc index 33397f73f215c4226e817bc618f0d047e2877d63..c0e1b602cdf767c5897cd7f0b82d7698d4a1f23d 100755 --- a/plugins/FeedsProcessor.inc +++ b/plugins/FeedsProcessor.inc @@ -32,7 +32,7 @@ abstract class FeedsProcessor extends FeedsPlugin { /** * Implements FeedsPlugin::pluginType(). */ - public static function pluginType() { + public function pluginType() { return 'processor'; }