diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 21:47:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 21:47:48 +0300 |
commit | e4107ac9520ca404d4ab49ef79ca74430e8fd772 (patch) | |
tree | 0d2d1e162ea9d5ed4e1f3bbb1dc2c29e494311fd /plugins/bookmarklets | |
parent | 42173386b39bed4b06c5ac6c2fc0da510673b354 (diff) |
wip: initial for config object
Diffstat (limited to 'plugins/bookmarklets')
-rw-r--r-- | plugins/bookmarklets/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/bookmarklets/init.php b/plugins/bookmarklets/init.php index caa8b39df..967918823 100644 --- a/plugins/bookmarklets/init.php +++ b/plugins/bookmarklets/init.php @@ -21,7 +21,7 @@ class Bookmarklets extends Plugin { } function subscribe() { - if (SINGLE_USER_MODE) { + if (Config::get(Config::SINGLE_USER_MODE)) { UserHelper::login_sequence(); } @@ -172,7 +172,7 @@ class Bookmarklets extends Plugin { } function sharepopup() { - if (SINGLE_USER_MODE) { + if (Config::get(Config::SINGLE_USER_MODE)) { UserHelper::login_sequence(); } |