This commit is contained in:
hannes 2015-12-30 01:54:48 +00:00
parent c0ef167514
commit 08be0e5c67

View File

@ -424,7 +424,11 @@ class File extends Managed_DataObject
if (self::hashurl($url) !== $this->urlhash) {
// For indexing purposes, in case we do a lookup on the 'url' field.
// also we're fixing possible changes from http to https, or paths
$this->updateUrl($url);
try {
$this->updateUrl($url);
} catch (ServerException $e) {
//
}
}
return $url;
}
@ -656,4 +660,4 @@ class File extends Managed_DataObject
echo "DONE.\n";
echo "Resuming core schema upgrade...";
}
}
}