summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 00:45:10 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 00:45:10 +0400
commitde612e7a3850d3053c7038e94098c0681d46983b (patch)
tree3e983cc930f18bd3d18d6536801929c733f7bf6c /backend.php
parent57e97294259f8d14806764d7a65083c2b84f1ea7 (diff)
experimental support for per-user plugins (bump schema)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 66afb06c0..cc45b6a85 100644
--- a/backend.php
+++ b/backend.php
@@ -63,6 +63,10 @@
authenticate_user($link, "admin", null);
}
+ if ($_SESSION["uid"]) {
+ load_user_plugins($link, $_SESSION["uid"]);
+ }
+
$purge_intervals = array(
0 => __("Use default"),
-1 => __("Never purge"),