mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-25 18:20:38 +00:00
- Refactoring
- Download restriction
This commit is contained in:
@@ -33,11 +33,11 @@ if (! function_exists('obfuscate_email')) {
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('get_limitation_driver')) {
|
||||
if (! function_exists('get_restriction_driver')) {
|
||||
/**
|
||||
* Get driver for limitation API
|
||||
*/
|
||||
function get_limitation_driver(): string
|
||||
function get_restriction_driver(): string
|
||||
{
|
||||
return match (get_settings('subscription_type')) {
|
||||
'fixed' => 'fixed',
|
||||
|
||||
Reference in New Issue
Block a user