1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

make "Land to..." button call diffusion.looksoon

Summary:
add looksoon call after every attempt at landing.

This includes failed attempts, to elevate "not a fast-forward" issues, although there are probably smarter things to be done about that.

Test Plan: Land, look at logs.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9518
This commit is contained in:
Aviv Eyal 2014-06-22 12:30:42 -07:00 committed by epriestley
parent 5c9f0de9db
commit 78c2d58586

View file

@ -141,6 +141,15 @@ final class DifferentialRevisionLandController extends DifferentialController {
} }
$lock->unlock(); $lock->unlock();
$looksoon = new ConduitCall(
'diffusion.looksoon',
array(
'callsigns' => array($repository->getCallsign())
));
$looksoon->setUser($request->getUser());
$looksoon->execute();
return $response; return $response;
} }