Completed
Push — master ( 1cd465...b5a791 )
by satoru
03:49
created
src/Controller/ContentsFileController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             Configure::write('ContentsFile.Setting.S3.fileDir', Configure::read('ContentsFile.Setting.S3.fileDir') . '/');
36 36
         }
37 37
         if (!preg_match('#/$#', Configure::read('ContentsFile.Setting.S3.workingDir'))) {
38
-            Configure::write('ContentsFile.Setting.S3.workingDir', Configure::read('ContentsFile.Setting.S3.workingDir'). '/');
38
+            Configure::write('ContentsFile.Setting.S3.workingDir', Configure::read('ContentsFile.Setting.S3.workingDir') . '/');
39 39
         }
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/Model/Behavior/Traits/S3ContentsFileBehaviorTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
             $deleteField = $attachmentData->field_name;
121 121
         }
122 122
 
123
-       $S3 = new S3();
123
+        $S3 = new S3();
124 124
         // リサイズのディレクトリ
125 125
         $resizeDir = Configure::read('ContentsFile.Setting.S3.fileDir') . $modelName . '/' . $modelId . '/' . 'contents_file_resize_' . $deleteField . '/';
126 126
         if (!$S3->deleteRecursive($resizeDir)) {
Please login to merge, or discard this patch.