Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/revoker/PhabricatorAuthSSHRevoker.php
Show All 37 Lines | foreach ($ssh_keys as $ssh_key) { | ||||
->setNewValue(1); | ->setNewValue(1); | ||||
$editor = $ssh_key->getApplicationTransactionEditor() | $editor = $ssh_key->getApplicationTransactionEditor() | ||||
->setActor($viewer) | ->setActor($viewer) | ||||
->setActingAsPHID($auth_phid) | ->setActingAsPHID($auth_phid) | ||||
->setContinueOnNoEffect(true) | ->setContinueOnNoEffect(true) | ||||
->setContinueOnMissingFields(true) | ->setContinueOnMissingFields(true) | ||||
->setContentSource($content_source) | ->setContentSource($content_source) | ||||
->setIsAdministrativeEdit(true) | |||||
->applyTransactions($ssh_key, $xactions); | ->applyTransactions($ssh_key, $xactions); | ||||
} | } | ||||
return count($ssh_keys); | return count($ssh_keys); | ||||
} | } | ||||
} | } |