Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20160503.repo.03.lpathmigrate.php
Context not available. | |||||
foreach (new LiskMigrationIterator($table) as $repository) { | foreach (new LiskMigrationIterator($table) as $repository) { | ||||
$local_path = $repository->getLocalPath(); | $local_path = $repository->getLocalPath(); | ||||
if (strlen($local_path)) { | if (@strlen($local_path)) { | ||||
// Repository already has a modern, unique local path. | // Repository already has a modern, unique local path. | ||||
continue; | continue; | ||||
} | } | ||||
$local_path = $repository->getDetail('local-path'); | $local_path = $repository->getDetail('local-path'); | ||||
if (!strlen($local_path)) { | if (!@strlen($local_path)) { | ||||
// Repository does not have a local path using the older format. | // Repository does not have a local path using the older format. | ||||
continue; | continue; | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0