1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00

Merge branch 'master' into redesign-2015

This commit is contained in:
epriestley 2015-06-25 15:55:04 -07:00
commit 5f84f14eab
2 changed files with 13 additions and 5 deletions

View file

@ -228,9 +228,11 @@ final class PhabricatorCalendarEventSearchEngine
case 'day':
return $query->setParameter('display', 'day');
case 'upcoming':
return $query->setParameter('upcoming', array(
0 => 'upcoming',
));
return $query
->setParameter('display', 'list')
->setParameter('upcoming', array(
0 => 'upcoming',
));
case 'all':
return $query;
}

View file

@ -30,8 +30,14 @@ final class PhabricatorRepositoryPushMailWorker
$targets = id(new PhabricatorRepositoryPushReplyHandler())
->setMailReceiver($repository)
->getMailTargets($email_phids, array());
$messages = array();
foreach ($targets as $target) {
$this->sendMail($target, $repository, $event);
$messages[] = $this->sendMail($target, $repository, $event);
}
foreach ($messages as $message) {
$message->save();
}
}
@ -121,7 +127,7 @@ final class PhabricatorRepositoryPushMailWorker
->addHeader('Thread-Topic', $subject)
->setIsBulk(true);
$target->sendMail($mail);
return $target->willSendMail($mail);
}
public function renderForDisplay(PhabricatorUser $viewer) {