mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-04 19:04:24 +00:00
fix status code reset #13
This commit is contained in:
parent
c492a98094
commit
8c9ef3bd5d
@ -174,11 +174,11 @@ foreach($index->search('')
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update index time anyway and set reset code to 404
|
// Update index time anyway and reset code to 404
|
||||||
$index->updateDocument(
|
$index->updateDocument(
|
||||||
[
|
[
|
||||||
'time' => time(),
|
'time' => time(),
|
||||||
'code' => 200,
|
'code' => 404,
|
||||||
'index' => 0
|
'index' => 0
|
||||||
],
|
],
|
||||||
$document->getId()
|
$document->getId()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user