mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 16:59:55 +09:00
#498 document table's cache delete.. mod some code
This commit is contained in:
parent
7aa70223f1
commit
d25cba6673
1 changed files with 2 additions and 2 deletions
|
|
@ -1406,6 +1406,7 @@ class documentController extends document
|
|||
while(true) {
|
||||
$args = new stdClass();
|
||||
$args->category_srl = $category_srl;
|
||||
$args->list_count = 100;
|
||||
$args->page = ++$page;
|
||||
$output = executeQuery('document.getDocumentList', $args, array('document_srl'));
|
||||
|
||||
|
|
@ -1414,9 +1415,8 @@ class documentController extends document
|
|||
|
||||
foreach($output->data as $val)
|
||||
{
|
||||
$document_srl = $val->document_srl;
|
||||
//remove document item from cache
|
||||
$cache_key = 'document_item:'. getNumberingPath($document_srl) . $document_srl;
|
||||
$cache_key = 'document_item:'. getNumberingPath($val->document_srl) . $val->document_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue