diff options
author | M. Dent <dentm42@gmail.com> | 2018-09-29 00:17:55 +0200 |
---|---|---|
committer | M. Dent <dentm42@gmail.com> | 2018-09-29 00:17:55 +0200 |
commit | 5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34 (patch) | |
tree | b714359bdc9c056376c6f3780e8edb0e066bf73f /Zotlabs/Module/Settings/Channel.php | |
parent | 2904e58a9fea6441202d1f9f7a3304a2d2b1429c (diff) | |
download | volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.gz volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.tar.bz2 volse-hubzilla-5f992ffe154ed9e2b225c9a1b3d7c47d39e41d34.zip |
Remove servicelevel logic
Diffstat (limited to 'Zotlabs/Module/Settings/Channel.php')
-rw-r--r-- | Zotlabs/Module/Settings/Channel.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php index 73cb4decb..c473a70a4 100644 --- a/Zotlabs/Module/Settings/Channel.php +++ b/Zotlabs/Module/Settings/Channel.php @@ -432,7 +432,7 @@ class Channel { '$nickname' => (($intl_nickname === $webbie) ? $webbie : $intl_nickname . ' (' . $webbie . ')'), '$subdir' => $subdir, '$davdesc' => t('Your files/photos are accessible via WebDAV at'), - '$davpath' => ((get_account_techlevel() > 3) ? z_root() . '/dav/' . $nickname : ''), + '$davpath' => z_root() . '/dav/' . $nickname, '$basepath' => \App::get_hostname() )); @@ -490,11 +490,6 @@ class Channel { $permissions_set = (($permissions_role != 'custom') ? true : false); $perm_roles = \Zotlabs\Access\PermissionRoles::roles(); - if((get_account_techlevel() < 4) && $permissions_role !== 'custom') - unset($perm_roles[t('Other')]); - - - $vnotify = get_pconfig(local_channel(),'system','vnotify'); $always_show_in_notices = get_pconfig(local_channel(),'system','always_show_in_notices'); |