Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/engine/DiffusionCommitHookEngine.php
| Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Lines | if ($this->emailPHIDs) { | ||||
| PhabricatorWorker::scheduleTask( | PhabricatorWorker::scheduleTask( | ||||
| 'PhabricatorRepositoryPushMailWorker', | 'PhabricatorRepositoryPushMailWorker', | ||||
| array( | array( | ||||
| 'eventPHID' => $event->getPHID(), | 'eventPHID' => $event->getPHID(), | ||||
| 'emailPHIDs' => array_values($this->emailPHIDs), | 'emailPHIDs' => array_values($this->emailPHIDs), | ||||
| 'info' => $this->loadCommitInfoForWorker($all_updates), | 'info' => $this->loadCommitInfoForWorker($all_updates), | ||||
| ), | ), | ||||
| PhabricatorWorker::PRIORITY_ALERTS); | array( | ||||
| 'priority' => PhabricatorWorker::PRIORITY_ALERTS, | |||||
| )); | |||||
| } | } | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| private function findRefUpdates() { | private function findRefUpdates() { | ||||
| $type = $this->getRepository()->getVersionControlSystem(); | $type = $this->getRepository()->getVersionControlSystem(); | ||||
| switch ($type) { | switch ($type) { | ||||
| ▲ Show 20 Lines • Show All 988 Lines • Show Last 20 Lines | |||||