style: fix code

This commit is contained in:
Torsten Dittmann 2022-03-02 09:12:20 +01:00
parent 0e270b89d2
commit 66099079b1

View file

@ -190,8 +190,8 @@ class V12 extends Migration
*/
$path = "/storage/uploads/app-{$this->project->getId()}";
$new = str_replace($path, "{$path}/default", $document->getAttribute('path'));
$document
->setAttribute('path', $new);
$document->setAttribute('path', $new);
/**
* Populate search string from Migration to 0.12.
*/