Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20170528.maniphestdupes.php
Context not available. | |||||
$pattern = '/^\xE2\x9C\x98 Merged into T(\d+)\.$/'; | $pattern = '/^\xE2\x9C\x98 Merged into T(\d+)\.$/'; | ||||
$matches = array(); | $matches = array(); | ||||
if (preg_match($pattern, $comment, $matches)) { | if (@preg_match($pattern, $comment, $matches)) { | ||||
$dst_task = id(new ManiphestTaskQuery()) | $dst_task = id(new ManiphestTaskQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->withIDs(array($matches[1])) | ->withIDs(array($matches[1])) | ||||
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