Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
<?php | <?php | ||||
final class DifferentialRevision extends DifferentialDAO | final class DifferentialRevision extends DifferentialDAO | ||||
implements | implements | ||||
PhabricatorTokenReceiverInterface, | PhabricatorTokenReceiverInterface, | ||||
PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
PhabricatorExtendedPolicyInterface, | PhabricatorExtendedPolicyInterface, | ||||
PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
PhrequentTrackableInterface, | PhrequentTrackableInterface, | ||||
HarbormasterBuildableInterface, | HarbormasterBuildableInterface, | ||||
PhabricatorSubscribableInterface, | PhabricatorSubscribableInterface, | ||||
PhabricatorCustomFieldInterface, | PhabricatorCustomFieldInterface, | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorMentionableInterface, | PhabricatorMentionableInterface, | ||||
PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
PhabricatorProjectInterface { | PhabricatorProjectInterface, | ||||
PhabricatorFulltextInterface { | |||||
protected $title = ''; | protected $title = ''; | ||||
protected $originalTitle; | protected $originalTitle; | ||||
protected $status; | protected $status; | ||||
protected $summary = ''; | protected $summary = ''; | ||||
protected $testPlan = ''; | protected $testPlan = ''; | ||||
▲ Show 20 Lines • Show All 599 Lines • ▼ Show 20 Lines | $this->openTransaction(); | ||||
'DELETE FROM %T WHERE revisionID = %d', | 'DELETE FROM %T WHERE revisionID = %d', | ||||
$dummy_path->getTableName(), | $dummy_path->getTableName(), | ||||
$this->getID()); | $this->getID()); | ||||
$this->delete(); | $this->delete(); | ||||
$this->saveTransaction(); | $this->saveTransaction(); | ||||
} | } | ||||
/* -( PhabricatorFulltextInterface )--------------------------------------- */ | |||||
public function newFulltextEngine() { | |||||
return new DifferentialRevisionFulltextEngine(); | |||||
} | |||||
} | } |