mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 17:50:38 +00:00
added it_rename_shared_file test
This commit is contained in:
@@ -220,6 +220,17 @@ function is_editor($shared)
|
||||
return $shared->permission === 'editor';
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if shared permission is visitor
|
||||
*
|
||||
* @param $shared
|
||||
* @return bool
|
||||
*/
|
||||
function is_visitor($shared)
|
||||
{
|
||||
return $shared->permission === 'visitor';
|
||||
}
|
||||
|
||||
/**
|
||||
* Store user avatar to storage
|
||||
*
|
||||
@@ -419,6 +430,7 @@ function appeared_once($arr)
|
||||
|
||||
/**
|
||||
* @param $folders
|
||||
* @param string $by_column
|
||||
* @return array
|
||||
*/
|
||||
function filter_folders_ids($folders, $by_column = 'id')
|
||||
|
||||
Reference in New Issue
Block a user