get_items_under_shared_by_folder_id moved to HelperService.php

This commit is contained in:
Peter Papp
2021-03-14 17:20:30 +01:00
parent 07cc977684
commit 732fc48aa4
5 changed files with 38 additions and 36 deletions

View File

@@ -413,7 +413,7 @@ class FileManagerService
$this->helper->check_user_storage_capacity($user_id, $file_size, $temp_filename);
// Create thumbnail
$thumbnail = $this->helper->get_image_thumbnail('chunks/' . $temp_filename, $disk_file_name, $user_id);
$thumbnail = $this->helper->create_image_thumbnail('chunks/' . $temp_filename, $disk_file_name, $user_id);
// Move finished file from chunk to file-manager directory
$disk_local->move('chunks/' . $temp_filename, "files/$user_id/$disk_file_name");
@@ -422,7 +422,7 @@ class FileManagerService
if (!is_storage_driver(['local'])) {
// Move file to external storage service
$this->helper->move_to_external_storage($disk_file_name, $thumbnail);
$this->helper->move_file_to_external_storage($disk_file_name, $thumbnail);
}
// Store user upload size