* remove clearData function.

This commit is contained in:
wangyidong
2014-08-25 08:46:03 +00:00
parent 379e43bef9
commit 0463c6ab25
11 changed files with 0 additions and 144 deletions
-3
View File
@@ -446,9 +446,6 @@ class commonModel extends model
if(!isset($lang->$moduleName->menu)) {echo "<ul></ul>"; return;}
/* Unset clearData menu when the data of pms is demo. */
if(!isset($app->config->global->showDemoUsers) or !$app->config->global->showDemoUsers) unset($lang->admin->menu->clearData);
/* Get the sub menus of the module, and get current module and method. */
$submenus = $lang->$moduleName->menu;
$currentModule = $app->getModuleName();