mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
implementation of user limits and refactoring
This commit is contained in:
@@ -499,7 +499,7 @@ if (! function_exists('user_storage_percentage')) {
|
||||
$used = $user->usedCapacity + $additionals;
|
||||
}
|
||||
|
||||
return get_storage_fill_percentage($used, $user->settings->max_storage_amount);
|
||||
return get_storage_fill_percentage($used, $user->limitations->max_storage_amount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user