1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +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) { if ($commit_names) {
$commits = $this->getConduit()->callMethodSynchronous( $commits = $this->getConduit()->callMethodSynchronous(