Changeset View
Changeset View
Standalone View
Standalone View
src/applications/pholio/editor/PholioMockEditor.php
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | final class PholioMockEditor extends PhabricatorApplicationTransactionEditor { | ||||
} | } | ||||
protected function applyFinalEffects( | protected function applyFinalEffects( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
$images = $this->getNewImages(); | $images = $this->getNewImages(); | ||||
foreach ($images as $image) { | foreach ($images as $image) { | ||||
$image->setMockID($object->getID()); | $image->setMockPHID($object->getPHID()); | ||||
$image->save(); | $image->save(); | ||||
} | } | ||||
return $xactions; | return $xactions; | ||||
} | } | ||||
protected function shouldSendMail( | protected function shouldSendMail( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |