* heading widget: remove unnecessary code.
This commit is contained in:
@@ -62,9 +62,9 @@ class heading extends wg
|
||||
|
||||
$moduleName = $app->rawModule;
|
||||
$methodName = $app->rawMethod;
|
||||
if(in_array("$moduleName-$methodName", is_array($config->excludeDropmenuList) ? $config->excludeDropmenuList : array())) return null;
|
||||
if(in_array("$moduleName-$methodName", $config->excludeDropmenuList)) return null;
|
||||
|
||||
if(in_array($app->tab, is_array($config->hasDropmenuApps) ? $config->hasDropmenuApps : array()))
|
||||
if(in_array($app->tab, $config->hasDropmenuApps))
|
||||
{
|
||||
$module = $app->tab;
|
||||
if($app->tab == 'qa') $module = 'product';
|
||||
|
||||
Reference in New Issue
Block a user