Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Commit

Permalink
inject attachment migration to Attachment repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rratsun committed Oct 30, 2019
1 parent 7f40630 commit 76ffbfc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/Treo/Migrations/V3Dot21Dot0.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ protected function unsetDAM($id)
$pdo->exec("UPDATE attachment SET `storage` = NULL, `storage_file_path` = NULL WHERE id = '{$id}'");
}

protected function setDAM($id, $storage, $filePath)
{
$pdo = $this->getEntityManager()->getPDO();
$pdo->exec("UPDATE attachment SET `storage`='{$storage}', `storage_file_path`='{$filePath}' WHERE id='{$id}'");
}

/**
* @return array
*/
Expand Down

0 comments on commit 76ffbfc

Please sign in to comment.