Skip to content

Commit ded7279

Browse files
authored
Issue #141. Mark submodules as 'disabled' when there is an importer (#142)
1 parent 6522381 commit ded7279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feeds.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,13 +909,13 @@ function feeds_system_info_alter(array &$info, $file, $type) {
909909
foreach (array('fetcher', 'parser', 'processor') as $plugin_type) {
910910
$plugin_key = $configuration[$plugin_type]['plugin_key'];
911911
if (isset($module_plugins[$plugin_key])) {
912-
$info['required'] = TRUE;
912+
$info['disabled'] = TRUE;
913913
break 2;
914914
}
915915
}
916916
}
917917

918-
if (empty($info['required'])) {
918+
if (empty($info['disabled'])) {
919919
return;
920920
}
921921

0 commit comments

Comments
 (0)