aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profperm.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profperm.php')
-rw-r--r--mod/profperm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profperm.php b/mod/profperm.php
index 4556119a4..2e3f708c8 100644
--- a/mod/profperm.php
+++ b/mod/profperm.php
@@ -7,10 +7,10 @@ function profperm_init(&$a) {
if(! local_channel())
return;
- $channel = $a->get_channel();
+ $channel = App::get_channel();
$which = $channel['channel_address'];
- $profile = $a->argv[1];
+ $profile = App::$argv[1];
profile_load($a,$which,$profile);