* [misc] remove unused code.
This commit is contained in:
@@ -70,8 +70,6 @@ if(file_exists('install.php') or file_exists('upgrade.php'))
|
||||
}
|
||||
}
|
||||
|
||||
/* If client device is mobile and version is pro, set the default view as mthml. */
|
||||
if($app->clientDevice == 'mobile' and (strpos($config->version, 'pro') === 0 or strpos($config->version, 'biz') === 0 or strpos($config->version, 'max') === 0) and $config->default->view == 'html') $config->default->view = 'mhtml';
|
||||
if(!empty($_GET['display']) && $_GET['display'] == 'card') $config->default->view = 'xhtml';
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user