Merge branch 'develop' into next

This commit is contained in:
Kijin Sung 2020-08-03 14:04:20 +09:00
commit 818897fed4
8 changed files with 31 additions and 13 deletions

View file

@ -1216,9 +1216,19 @@ class boardView extends board
{
throw new Rhymix\Framework\Exceptions\NotPermitted;
}
$document_srl = Context::get('document_srl');
if(!$document_srl)
{
throw new Rhymix\Framework\Exceptions\InvalidRequest;
}
$updatelog = DocumentModel::getDocumentUpdateLog($document_srl);
if(!$updatelog->toBool())
{
return $updatelog;
}
Context::set('total_count', $updatelog->page_navigation->total_count);
Context::set('total_page', $updatelog->page_navigation->total_page);
Context::set('page', $updatelog->page);