Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Defend the Web
Website
Commits
86bfa871
Commit
86bfa871
authored
Nov 18, 2019
by
Luke Ward
Browse files
Merge branch 'fix-dark-mode-persistence' into 'master'
Fix loading of Meta data See merge request
!6
parents
9522ff9f
e3200b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/user/Meta.php
src/lib/user/Meta.php
+2
-2
No files found.
src/lib/user/Meta.php
View file @
86bfa871
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment