Skip to content
Snippets Groups Projects
Commit 17b4b7ee authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Move static method to member method.

parent 48b76ced
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ abstract class FeedsFetcher extends FeedsPlugin {
/**
* Implements FeedsPlugin::pluginType().
*/
public static function pluginType() {
public function pluginType() {
return 'fetcher';
}
......
......@@ -56,7 +56,7 @@ abstract class FeedsParser extends FeedsPlugin {
/**
* Implements FeedsPlugin::pluginType().
*/
public static function pluginType() {
public function pluginType() {
return 'parser';
}
......
......@@ -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();
}
......
......@@ -32,7 +32,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
/**
* Implements FeedsPlugin::pluginType().
*/
public static function pluginType() {
public function pluginType() {
return 'processor';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment