summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-22 09:04:33 +0300
committerAndrew Dolgov <[email protected]>2020-09-22 09:04:33 +0300
commit74568df4ff7b7788991636f6fb2ed62012f85c3b (patch)
tree673bcb01157b38e4b38f8f4c8227012e8a750e18 /api
parentd04ac399ff284e9747e3fb55e87d05e0a5b8d85f (diff)
remove a lot of stuff from global context (functions.php), add a few helper classes instead
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php
index 363f2ae13..8e85919c6 100644
--- a/api/index.php
+++ b/api/index.php
@@ -67,7 +67,7 @@
return;
}
- load_user_plugins( $_SESSION["uid"]);
+ UserHelper::load_user_plugins( $_SESSION["uid"]);
}
$method = strtolower($_REQUEST["op"]);