Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20151223.proj.05.updatekeys.php
Context not available. | |||||
$path = $project->getProjectPath(); | $path = $project->getProjectPath(); | ||||
$key = $project->getProjectPathKey(); | $key = $project->getProjectPathKey(); | ||||
if (strlen($path) && ($key !== "\0\0\0\0")) { | if (@strlen($path) && ($key !== "\0\0\0\0")) { | ||||
continue; | continue; | ||||
} | } | ||||
$path_key = PhabricatorHash::digestForIndex($project->getPHID()); | $path_key = PhabricatorHash::digestForIndex($project->getPHID()); | ||||
$path_key = substr($path_key, 0, 4); | $path_key = @substr($path_key, 0, 4); | ||||
queryfx( | queryfx( | ||||
$conn_w, | $conn_w, | ||||
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