3 final class PhabricatorFlagDestructionEngineExtension
4 extends PhabricatorDestructionEngineExtension
{
6 const EXTENSIONKEY
= 'flags';
8 public function getExtensionName() {
12 public function destroyObject(
13 PhabricatorDestructionEngine
$engine,
16 $object_phid = $object->getPHID();
18 if ($object instanceof PhabricatorFlaggableInterface
) {
19 $flags = id(new PhabricatorFlag())->loadAllWhere(
22 foreach ($flags as $flag) {
27 $flags = id(new PhabricatorFlag())->loadAllWhere(
30 foreach ($flags as $flag) {