summaryrefslogtreecommitdiff
path: root/prefs.php
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 /prefs.php
parentd04ac399ff284e9747e3fb55e87d05e0a5b8d85f (diff)
remove a lot of stuff from global context (functions.php), add a few helper classes instead
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.php b/prefs.php
index d55f1bc52..2a51c6c38 100644
--- a/prefs.php
+++ b/prefs.php
@@ -21,7 +21,7 @@
if (!init_plugins()) return;
- login_sequence();
+ UserHelper::login_sequence();
header('Content-Type: text/html; charset=utf-8');
?>
@@ -43,7 +43,7 @@
const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>";
</script>
- <?php print_user_stylesheet() ?>
+ <?php UserHelper::print_user_stylesheet() ?>
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<link rel="icon" type="image/png" sizes="72x72" href="images/favicon-72px.png" />