1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-17 20:32:41 +01:00

Remove picture crop transaction from Conpherence

Summary: Fixes T11730. Removes an old transaction that hasn't been used in a year.

Test Plan: Run sql, check various rooms.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11730

Differential Revision: https://secure.phabricator.com/D17666
This commit is contained in:
Chad Little 2017-04-12 14:10:18 -07:00
parent c6c25b055b
commit a9845b0b1d
2 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,2 @@
DELETE FROM {$NAMESPACE}_conpherence.conpherence_transaction
WHERE transactionType = 'picture-crop';

View file

@ -7,7 +7,6 @@ final class ConpherenceTransaction extends PhabricatorApplicationTransaction {
const TYPE_PARTICIPANTS = 'participants';
const TYPE_DATE_MARKER = 'date-marker';
const TYPE_PICTURE = 'picture';
const TYPE_PICTURE_CROP = 'picture-crop'; // TODO: Nuke these from DB.
public function getApplicationName() {
return 'conpherence';
@ -43,8 +42,6 @@ final class ConpherenceTransaction extends PhabricatorApplicationTransaction {
case self::TYPE_PICTURE:
case self::TYPE_DATE_MARKER:
return false;
case self::TYPE_PICTURE_CROP:
return true;
}
return parent::shouldHide();