Commit 86bfa871 authored by Luke Ward's avatar Luke Ward
Browse files

Merge branch 'fix-dark-mode-persistence' into 'master'

Fix loading of Meta data

See merge request !6
parents 9522ff9f e3200b92
......@@ -6,7 +6,7 @@
public static function get($key, $userID = null) {
if ($userID == null) {
if (!\dtw\DtW::getInstance()->user) {
if (!\dtw\DtW::getInstance()->user->isAuth()) {
return;
}
......@@ -42,7 +42,7 @@
public static function set($key, $value, $update = true, $userID = null) {
if ($userID == null) {
if (!\dtw\DtW::getInstance()->user) {
if (!\dtw\DtW::getInstance()->user->isAuth()) {
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment