1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-04-11 03:48:34 +02:00
phorge-phorge/src/applications/system/interface/PhabricatorDestructibleInterface.php
lkassianik c6998207ab T5409, allow bin/remove to permanently destroy credential and everything associated with it
Summary: Fixes T5409, bin/remove permanently destroys credential

Test Plan: Add a passphrase, run bin/remove destroy K123 --trace, verify credential no longer exists

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5409

Differential Revision: https://secure.phabricator.com/D10185
2014-08-07 16:33:54 -07:00

24 lines
436 B
PHP

<?php
interface PhabricatorDestructibleInterface {
public function destroyObjectPermanently(
PhabricatorDestructionEngine $engine);
}
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
/* -( PhabricatorDestructibleInterface )----------------------------------- */
/*
public function destroyObjectPermanently(
PhabricatorDestructionEngine $engine) {
<<<$this->nuke();>>>
}
*/