• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

XOOPS Cube Legacy base repository


Commit MetaInfo

修訂2f494bf8e44b95d5e29249265341dd82087a800a (tree)
時間2011-11-21 23:09:00
作者nbuy <nbuy@704c...>
Commiternbuy

Log Message

use cache active modules for speed up

git-svn-id: https://xoopscube.svn.sourceforge.net/svnroot/xoopscube/Package_Legacy/trunk@1061 704cf05f-ae62-4b0e-a484-234ee0250e75

Change Summary

差異

--- a/html/modules/legacy/admin/actions/BlockListAction.class.php
+++ b/html/modules/legacy/admin/actions/BlockListAction.class.php
@@ -68,9 +68,7 @@ class Legacy_BlockListAction extends Legacy_AbstractListAction
6868 $render->setAttribute("objects", $this->mObjects);
6969 $render->setAttribute("pageNavi", $this->mFilter->mNavi);
7070
71- $moduleHandler =& xoops_gethandler('module');
72- $modules =& $moduleHandler->getObjects(new Criteria('isactive', 1));
73- $render->setAttribute('modules', $modules);
71+ $render->setAttribute('modules', $controller->mActiveModules);
7472 $render->setAttribute('filterForm', $this->mFilter);
7573 $render->setAttribute('pageArr', $this->mpageArr);
7674 //