mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Clear local document cache if document is deleted
This commit is contained in:
parent
5ae15f4b66
commit
1dcac98662
1 changed files with 1 additions and 0 deletions
|
|
@ -976,6 +976,7 @@ class documentController extends document
|
||||||
|
|
||||||
//remove from cache
|
//remove from cache
|
||||||
Rhymix\Framework\Cache::delete('document_item:' . getNumberingPath($document_srl) . $document_srl);
|
Rhymix\Framework\Cache::delete('document_item:' . getNumberingPath($document_srl) . $document_srl);
|
||||||
|
unset($GLOBALS['XE_DOCUMENT_LIST'][$document_srl]);
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue