Completed
Push — master ( 46409e...f945b3 )
by Aleksandar
55:09 queued 26:53
created
packages/Article/src/Service/VideoService.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,15 +158,13 @@
 block discarded – undo
158 158
         // We don't want to force user to re-upload image on edit
159 159
         if(!$videos['featured_img']) {
160 160
             unset($videos['featured_img']);
161
-        }
162
-        else {
161
+        } else {
163 162
             $this->upload->deleteFile($oldArticle->featured_img);
164 163
         }
165 164
 
166 165
         if(!$videos['main_img']) {
167 166
             unset($videos['main_img']);
168
-        }
169
-        else {
167
+        } else {
170 168
             $this->upload->deleteFile($oldArticle->main_img);
171 169
         }
172 170
 
Please login to merge, or discard this patch.