Clear extravar cache if document is deleted

This commit is contained in:
Kijin Sung 2017-07-03 13:06:24 +09:00
parent 1dcac98662
commit 96738bd97d

View file

@ -977,6 +977,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]);
unset($GLOBALS['XE_EXTRA_VARS'][$document_srl]);
return $output;
}