Skip to content

Commit

Permalink
Merge pull request #243 from nanasess/remove-obsoult-packages
Browse files Browse the repository at this point in the history
Remove obsolete packages
  • Loading branch information
Chihiro Adachi authored Feb 25, 2019
2 parents 390bde4 + 2247a97 commit 19a4124
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 391 deletions.
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

0 comments on commit 19a4124

Please sign in to comment.