aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Connedit.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-19 17:52:45 -0700
committerredmatrix <git@macgirvin.com>2016-07-19 17:52:45 -0700
commitea830328634b084e44f9e16f037a8bef3c98280a (patch)
tree595316e830c7a19e495cf6744f825bb70073cc26 /Zotlabs/Module/Connedit.php
parent6a4573b935cb7d451156b2a98622bad0dfa1f0cd (diff)
downloadvolse-hubzilla-ea830328634b084e44f9e16f037a8bef3c98280a.tar.gz
volse-hubzilla-ea830328634b084e44f9e16f037a8bef3c98280a.tar.bz2
volse-hubzilla-ea830328634b084e44f9e16f037a8bef3c98280a.zip
translate more old perms calls
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r--Zotlabs/Module/Connedit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php
index 7f34cfc9b..93ee30999 100644
--- a/Zotlabs/Module/Connedit.php
+++ b/Zotlabs/Module/Connedit.php
@@ -209,7 +209,7 @@ class Connedit extends \Zotlabs\Web\Controller {
$role = get_pconfig(local_channel(),'system','permissions_role');
if($role) {
- $x = get_role_perms($role);
+ $x = \Zotlabs\Access\PermissionRoles::role_perms($role);
if($x['perms_connect']) {
$abook_my_perms = $x['perms_connect'];
}
@@ -395,7 +395,7 @@ class Connedit extends \Zotlabs\Web\Controller {
$my_perms = get_channel_default_perms(local_channel());
$role = get_pconfig(local_channel(),'system','permissions_role');
if($role) {
- $x = get_role_perms($role);
+ $x = \Zotlabs\Access\PermissionRoles::role_perms($role);
if($x['perms_connect'])
$my_perms = $x['perms_connect'];
}