From 0d2c36bd8d116c6215fa580b755aebd8f23f35bb Mon Sep 17 00:00:00 2001 From: thilo Date: Thu, 6 Dec 2018 20:38:03 +0000 Subject: [PATCH] Update Build.php to allow /e/ unoffical builds to find updates. The conditions removed were just dealing with a special case due to Cyanogen/Lineage channel difference that are not relevant for us and are hindering unoffical builds (build as per directions in wiki) to properly receive OTAs (from a custom OTA server). --- src/Helpers/Build.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Helpers/Build.php b/src/Helpers/Build.php index 16552af..4e2fc80 100644 --- a/src/Helpers/Build.php +++ b/src/Helpers/Build.php @@ -293,8 +293,6 @@ $token = strtolower( $token ); if ( $token > '' ) { $ret = $token; - if ( $token == 'experimental' && ( $type == 'cm' || version_compare ( $version, '14.1', '<' ) ) ) $ret = 'snapshot'; - if ( $token == 'unofficial' && ( $type == 'cm' || version_compare ( $version, '14.1', '<' ) ) ) $ret = 'nightly'; } return $ret; -- GitLab