Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete packages #243

Merged
merged 3 commits into from
Feb 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"bondas83/mdb2_driver_mysqli": "^1.5",
"mobiledetect/mobiledetectlib": "^2.8",
"nanasess/mdb2_driver_pgsql": "^1.5",
"nanasess/net_useragent_mobile": "*",
"nanasess/services_json": "*",
"pear/archive_tar": "^1.4.3",
"pear/cache_lite": "*",
"pear/mail": "*",
"pear/pear-core-minimal": "^1.10",
"pear/text_password": "*",
Expand Down
143 changes: 1 addition & 142 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

122 changes: 0 additions & 122 deletions data/class/SC_Cache.php

This file was deleted.

4 changes: 1 addition & 3 deletions data/class/SC_Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ public static function detectDevice($reset = FALSE)
if (is_null(SC_Display_Ex::$device) || $reset) {
//$nu = new Net_UserAgent_Mobile();
$su = new SC_SmartphoneUserAgent_Ex();
/*if ($nu->isMobile()) {
SC_Display_Ex::$device = DEVICE_TYPE_MOBILE;
} else*/if ($su->isSmartphone()) {
if ($su->isSmartphone()) {
SC_Display_Ex::$device = DEVICE_TYPE_SMARTPHONE;
} else {
SC_Display_Ex::$device = DEVICE_TYPE_PC;
Expand Down
Loading