Commit 7b058aa7 authored by kristofferwiklund's avatar kristofferwiklund Committed by gboudrias

Issue #2661124 by kristofferwiklund: D8 Site fails verification after db...

Issue #2661124 by kristofferwiklund: D8 Site fails verification after db restore. (But site is working fine)
parent c1323766
......@@ -71,13 +71,14 @@ function _provision_drupal_system_map() {
}
function _provision_system_query($type) {
$packages = array();
foreach (system_get_info($type) as $name => $package) {
$package = (object) $package;
$package->filename = drupal_get_filename($type, $name);
$frags = explode("/", $package->filename);
// flag site-specific packages
if ($frags[0] == 'sites' && $frags[1] != 'all') {
$packages->platform = -1;
$package->platform = -1;
}
$package->filename = realpath($package->filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment