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:
parent
5c9f0de9db
commit
78c2d58586
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue