Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
9526f2fd
Commit
9526f2fd
authored
Nov 05, 2018
by
Dominik Hebeler
Browse files
Fixed a bug. Table usedurls doesn't exist anymore
parent
61a047e3
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/HumanVerification.php
View file @
9526f2fd
...
...
@@ -98,12 +98,7 @@ class HumanVerification extends Controller
}
if
(
$user
->
whitelist
===
1
)
{
if
(
DB
::
table
(
'humanverification'
)
->
where
(
'uid'
,
$uid
)
->
update
([
'unusedResultPages'
=>
0
])
===
1
)
{
DB
::
table
(
'usedurls'
)
->
where
(
'uid'
,
$uid
)
->
delete
();
}
DB
::
table
(
'humanverification'
)
->
where
(
'uid'
,
$uid
)
->
update
([
'unusedResultPages'
=>
0
]);
}
else
{
DB
::
table
(
'humanverification'
)
->
where
(
'uid'
,
$uid
)
->
where
(
'updated_at'
,
'<'
,
Carbon
::
NOW
()
->
subSeconds
(
2
))
->
delete
();
...
...
Write
Preview
Supports
Markdown
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