mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Do not even load counts of document in widget page
This commit is contained in:
parent
ddac7ecf2f
commit
4f821bca85
2 changed files with 14 additions and 5 deletions
|
|
@ -479,7 +479,7 @@ class widgetController extends widget
|
|||
if($args->document_srl)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false);
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false, false);
|
||||
$body = $oDocument->getContent(false,false,false, false);
|
||||
}
|
||||
else
|
||||
|
|
@ -519,7 +519,7 @@ class widgetController extends widget
|
|||
if($args->document_srl)
|
||||
{
|
||||
$oDocumentModel = getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false);
|
||||
$oDocument = $oDocumentModel->getDocument($args->document_srl, false, false, false);
|
||||
$body = $oDocument->getContent(false,false,false);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue