Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d2c36bd authored by thilo's avatar thilo
Browse files

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).
parent 46dffa76
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;