Clear local document cache if document is deleted

This commit is contained in:
Kijin Sung 2017-07-03 10:41:08 +09:00
parent 5ae15f4b66
commit 1dcac98662

View file

@ -976,6 +976,7 @@ class documentController extends document
//remove from cache
Rhymix\Framework\Cache::delete('document_item:' . getNumberingPath($document_srl) . $document_srl);
unset($GLOBALS['XE_DOCUMENT_LIST'][$document_srl]);
return $output;
}