Skip to content
Snippets Groups Projects
Commit 51c62610 authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

Issue #3342516: Actually correct packages.drupal.org purging

parent ac70d861
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ function project_composer_manage_provider_includes($includes) {
$wrapper = file_stream_wrapper_get_instance_by_uri($path);
watchdog('project_composer', '%path does not exist or is not writable.', ['%path' => $wrapper->realpath()], WATCHDOG_ERROR);
}
project_composer_purge_packages_url(url(preg_replace('|public://|', '', $path), ['absolute' => TRUE]));
project_composer_purge_packages_url(url(preg_replace('|public://packages/|', '', $path), ['absolute' => TRUE]));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment