Skip to content
Snippets Groups Projects
Commit 32f73416 authored by drothstein's avatar drothstein Committed by MegaChriz
Browse files

Issue #2828605 by David_Rothstein: fixed "The following module has moved...

Issue #2828605 by David_Rothstein: fixed "The following module has moved within the file system" warning that occurred when downloading or enabling a new module or when enabling a previously installed module that was moved on the file system.
parent c79e7bd2
No related branches found
No related tags found
No related merge requests found
...@@ -758,7 +758,7 @@ function feeds_features_pipe_feeds_importer_alter(&$pipe, $data, &$export) { ...@@ -758,7 +758,7 @@ function feeds_features_pipe_feeds_importer_alter(&$pipe, $data, &$export) {
* required if there are any importers using those plugins. * required if there are any importers using those plugins.
*/ */
function feeds_system_info_alter(array &$info, $file, $type) { function feeds_system_info_alter(array &$info, $file, $type) {
if ($type !== 'module' || !module_hook($file->name, 'feeds_plugins')) { if ($type !== 'module' || !module_exists($file->name) || !module_hook($file->name, 'feeds_plugins')) {
return; return;
} }
......
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