@@ 585-590 (lines=6) @@ | ||
582 | $output->add('document_srl',$obj->document_srl); |
|
583 | //remove from cache |
|
584 | $oCacheHandler = CacheHandler::getInstance('object'); |
|
585 | if($oCacheHandler->isSupport()) |
|
586 | { |
|
587 | //remove document item from cache |
|
588 | $cache_key = 'document_item:'. getNumberingPath($obj->document_srl) . $obj->document_srl; |
|
589 | $oCacheHandler->delete($cache_key); |
|
590 | } |
|
591 | ||
592 | return $output; |
|
593 | } |
|
@@ 824-828 (lines=5) @@ | ||
821 | ||
822 | // Clear cache |
|
823 | $oCacheHandler = CacheHandler::getInstance('object'); |
|
824 | if($oCacheHandler->isSupport()) |
|
825 | { |
|
826 | $cache_key = 'document_item:'. getNumberingPath($oDocument->document_srl) . $oDocument->document_srl; |
|
827 | $oCacheHandler->delete($cache_key); |
|
828 | } |
|
829 | ||
830 | return $output; |
|
831 | } |