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 --- classes/backend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/backend.php') diff --git a/classes/backend.php b/classes/backend.php index 27abfbf5f..16c20660a 100644 --- a/classes/backend.php +++ b/classes/backend.php @@ -19,8 +19,8 @@ class Backend extends Handler_Protected { $topic = basename(clean($_REQUEST["topic"])); // only one for now if ($topic == "main") { - $info = get_hotkeys_info(); - $imap = get_hotkeys_map(); + $info = RPC::get_hotkeys_info(); + $imap = RPC::get_hotkeys_map(); $omap = array(); foreach ($imap[1] as $sequence => $action) { -- cgit v1.2.3