1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Merge pull request #27 from CodeBlock/master

Phabot/Txxx
This commit is contained in:
Evan Priestley 2011-06-29 07:15:39 -07:00
commit dafbef9025

View file

@ -94,7 +94,17 @@ class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
}
}
// TODO: Support tasks in Conduit.
if ($task_ids) {
foreach ($task_ids as $task_id) {
$task = $this->getConduit()->callMethodSynchronous(
'maniphest.info',
array(
'task_id' => $task_id,
));
$output[$task['phid']] = 'T'.$task['id'].': '.$task['title'].
' (Priority: '.$task['priority'].') - '.$task['uri'];
}
}
if ($commit_names) {
$commits = $this->getConduit()->callMethodSynchronous(