~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to phabricator/src/applications/maniphest/editor/ManiphestTransactionEditor.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-06-13 10:52:10 UTC
  • mfrom: (0.30.1) (0.29.1) (0.17.4) (2.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150613105210-5uirr7tvnk0n6e6y
Tags: 0~git20150613-1
* New snapshot release (closes: #787805)
* fixed typo in logrotate script (closes: #787645)

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
  protected function shouldSendMail(
377
377
    PhabricatorLiskDAO $object,
378
378
    array $xactions) {
379
 
 
380
 
    $xactions = mfilter($xactions, 'shouldHide', true);
381
 
    return $xactions;
 
379
    return true;
382
380
  }
383
381
 
384
382
  protected function getMailSubjectPrefix() {
515
513
 
516
514
    $xactions = array();
517
515
 
518
 
    $cc_phids = $adapter->getCcPHIDs();
519
 
    if ($cc_phids) {
520
 
      $xactions[] = id(new ManiphestTransaction())
521
 
        ->setTransactionType(PhabricatorTransactions::TYPE_SUBSCRIBERS)
522
 
        ->setNewValue(array('+' => $cc_phids));
523
 
    }
524
 
 
525
516
    $assign_phid = $adapter->getAssignPHID();
526
517
    if ($assign_phid) {
527
518
      $xactions[] = id(new ManiphestTransaction())
641
632
 
642
633
    $query = id(new ManiphestTaskQuery())
643
634
      ->setViewer(PhabricatorUser::getOmnipotentUser())
644
 
      ->setOrderBy(ManiphestTaskQuery::ORDER_PRIORITY)
 
635
      ->setOrder(ManiphestTaskQuery::ORDER_PRIORITY)
645
636
      ->withPriorities(array($dst->getPriority()))
646
637
      ->setLimit(1);
647
638