mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
NOISSUE remove reference operator.
This commit is contained in:
parent
35384999c9
commit
194ce8614a
118 changed files with 859 additions and 859 deletions
|
|
@ -66,7 +66,7 @@ class menu extends ModuleObject
|
|||
$oDB->addColumn('menu_item', 'is_shortcut', 'char', 1, 'N');
|
||||
|
||||
// check empty url and change shortcut type
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$oMenuAdminModel = getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenus();
|
||||
|
||||
if(is_array($output))
|
||||
|
|
@ -98,7 +98,7 @@ class menu extends ModuleObject
|
|||
}
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
// if duplicate reference, change type to shortcut
|
||||
$shortcutItemList = array_diff_assoc($menuItemAllList, $menuItemUniqueList);
|
||||
foreach($output AS $key=>$value)
|
||||
|
|
@ -145,11 +145,11 @@ class menu extends ModuleObject
|
|||
*/
|
||||
function recompileCache()
|
||||
{
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
$oMenuAdminModel = getAdminModel('menu');
|
||||
|
||||
// get home module id
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$columnList = array('modules.mid',);
|
||||
$output = $oModuleModel->getSiteInfo(0, $columnList);
|
||||
$homeModuleMid = $output->mid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue