Skip to content
Snippets Groups Projects
Commit 5b6605fe authored by Dave Reid's avatar Dave Reid
Browse files

Issue #1161810: Fixed declaration of FeedsSource::instance() should be...

Issue #1161810: Fixed declaration of FeedsSource::instance() should be compatible with that of FeedsConfigurable::instance().
parent 51813301
No related branches found
Tags 1.0.8
No related merge requests found
......@@ -90,7 +90,7 @@ class FeedsSource extends FeedsConfigurable {
* Instantiate a unique object per class/id/feed_nid. Don't use
* directly, use feeds_source() instead.
*/
public static function instance($importer_id, $feed_nid = 0) {
public static function instance($importer_id, $feed_nid) {
$class = variable_get('feeds_source_class', 'FeedsSource');
static $instances = array();
if (!isset($instances[$class][$importer_id][$feed_nid])) {
......
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