Differential D20150 Diff 48125 src/applications/metamta/applicationpanel/PhabricatorMetaMTAApplicationEmailPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/applicationpanel/PhabricatorMetaMTAApplicationEmailPanel.php
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | public function handlePanelRequest( | ||||
$viewer = $request->getViewer(); | $viewer = $request->getViewer(); | ||||
$application = $this->getApplication(); | $application = $this->getApplication(); | ||||
$path = $request->getURIData('path'); | $path = $request->getURIData('path'); | ||||
if (strlen($path)) { | if (strlen($path)) { | ||||
return new Aphront404Response(); | return new Aphront404Response(); | ||||
} | } | ||||
$uri = $request->getRequestURI(); | $uri = new PhutilURI($request->getPath()); | ||||
epriestley: Test plan: added and removed application email addresses for Maniphest. | |||||
$uri->setQueryParams(array()); | |||||
$new = $request->getStr('new'); | $new = $request->getStr('new'); | ||||
$edit = $request->getInt('edit'); | $edit = $request->getInt('edit'); | ||||
$delete = $request->getInt('delete'); | $delete = $request->getInt('delete'); | ||||
if ($new) { | if ($new) { | ||||
return $this->returnNewAddressResponse($request, $uri, $application); | return $this->returnNewAddressResponse($request, $uri, $application); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 357 Lines • Show Last 20 Lines |
Test plan: added and removed application email addresses for Maniphest.