Differential D9989 Diff 24028 src/applications/oauthserver/controller/client/PhabricatorOAuthClientDeleteController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/controller/client/PhabricatorOAuthClientDeleteController.php
<?php | <?php | ||||
final class PhabricatorOAuthClientDeleteController | final class PhabricatorOAuthClientDeleteController | ||||
extends PhabricatorOAuthClientBaseController { | extends PhabricatorOAuthClientController { | ||||
public function processRequest() { | public function processRequest() { | ||||
$request = $this->getRequest(); | $request = $this->getRequest(); | ||||
$viewer = $request->getUser(); | $viewer = $request->getUser(); | ||||
$client = id(new PhabricatorOAuthServerClientQuery()) | $client = id(new PhabricatorOAuthServerClientQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->withPHIDs(array($this->getClientPHID())) | ->withPHIDs(array($this->getClientPHID())) | ||||
Show All 30 Lines |