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:
commit
dafbef9025
1 changed files with 11 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue