diff options
author | redmatrix <git@macgirvin.com> | 2016-03-31 17:32:51 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-31 17:32:51 -0700 |
commit | c0b3d7e1b480ceeed89b71efd056ed9edda2dfef (patch) | |
tree | 433552545eb0c746fb48666afdb74ff472bf17b1 /include/permissions.php | |
parent | 50d9b2934742ad9fb0dc8354d405789e3c14cd00 (diff) | |
parent | 9abd95fad3784a10fc48bc40f9b8a75d7d74edda (diff) | |
download | volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.gz volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.tar.bz2 volse-hubzilla-c0b3d7e1b480ceeed89b71efd056ed9edda2dfef.zip |
Merge branch 'static'
Diffstat (limited to 'include/permissions.php')
-rw-r--r-- | include/permissions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/permissions.php b/include/permissions.php index 8f593640c..19242d29f 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -63,7 +63,7 @@ function get_perms() { */ function get_all_perms($uid, $observer_xchan, $internal_use = true) { - $api = get_app()->get_oauth_key(); + $api = App::get_oauth_key(); if($api) return get_all_api_perms($uid,$api); @@ -270,7 +270,7 @@ function get_all_perms($uid, $observer_xchan, $internal_use = true) { */ function perm_is_allowed($uid, $observer_xchan, $permission) { - $api = get_app()->get_oauth_key(); + $api = App::get_oauth_key(); if($api) return api_perm_is_allowed($uid,$api,$permission); |