@@ -26,7 +26,8 @@ |
||
26 | 26 | ->orderBy('expire', 'desc')->get(); |
27 | 27 | |
28 | 28 | Log::debug('Retrieved all File Links for User ID '.$this->id.'. Data Gathered - ', array($links)); |
29 | - if ($this->collection) { |
|
29 | + if ($this->collection) |
|
30 | + { |
|
30 | 31 | return new FileLinksCollection($links); |
31 | 32 | } |
32 | 33 |
@@ -108,7 +108,8 @@ |
||
108 | 108 | { |
109 | 109 | $data = Files::find($fileID); |
110 | 110 | // Move the file to the proper folder |
111 | - try{ |
|
111 | + try |
|
112 | + { |
|
112 | 113 | Log::debug('Attempting to moving file '.$fileID.' to '.$newPath); |
113 | 114 | Storage::move($data->file_link.$data->file_name, $newPath.DIRECTORY_SEPARATOR.$data->file_name); |
114 | 115 | } |