aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.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/Settings.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/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index 514078b2f..af3a25c60 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -379,7 +379,7 @@ class Settings extends \Zotlabs\Web\Controller {
);
}
else {
- $role_permissions = get_role_perms($_POST['permissions_role']);
+ $role_permissions = \Zotlabs\Access\PermissionRoles::role_perms($_POST['permissions_role']);
if(! $role_permissions) {
notice('Permissions category could not be found.');
return;