summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 17:13:16 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 17:13:16 +0300
commit9d7ba773ec97bfb44601348c07e818f1a1d2c841 (patch)
tree92c541d6bb06ac03ba358b2d0c66efc9674ef8ea /backend.php
parent7fad6ce6518469e7d99c496a39c03a36288efd11 (diff)
move session-related functions to their own namespace
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 89b06b7eb..9ecc22914 100644
--- a/backend.php
+++ b/backend.php
@@ -45,7 +45,7 @@
}
if (!empty($_SESSION["uid"])) {
- if (!validate_session()) {
+ if (!\Sessions\validate_session()) {
header("Content-Type: text/json");
print error_json(6);
return;