From 74568df4ff7b7788991636f6fb2ed62012f85c3b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Sep 2020 09:04:33 +0300 Subject: remove a lot of stuff from global context (functions.php), add a few helper classes instead --- api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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"]); -- cgit v1.2.3