Page MenuHomePhabricator

D17666.diff
No OneTemporary

D17666.diff

diff --git a/resources/sql/autopatches/20170412.conpherence.01.picturecrop.sql b/resources/sql/autopatches/20170412.conpherence.01.picturecrop.sql
new file mode 100644
--- /dev/null
+++ b/resources/sql/autopatches/20170412.conpherence.01.picturecrop.sql
@@ -0,0 +1,2 @@
+DELETE FROM {$NAMESPACE}_conpherence.conpherence_transaction
+ WHERE transactionType = 'picture-crop';
diff --git a/src/applications/conpherence/storage/ConpherenceTransaction.php b/src/applications/conpherence/storage/ConpherenceTransaction.php
--- a/src/applications/conpherence/storage/ConpherenceTransaction.php
+++ b/src/applications/conpherence/storage/ConpherenceTransaction.php
@@ -7,7 +7,6 @@
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 @@
case self::TYPE_PICTURE:
case self::TYPE_DATE_MARKER:
return false;
- case self::TYPE_PICTURE_CROP:
- return true;
}
return parent::shouldHide();

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 7:56 PM (1 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714251
Default Alt Text
D17666.diff (1 KB)

Event Timeline