* [misc] remove unused code.

This commit is contained in:
sunguangming
2025-05-19 09:26:26 +08:00
committed by 刘刚
parent 83a80b4fac
commit 659fbb1dc3
-2
View File
@@ -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