partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9dfb08c832465763ca0d3e08d379918e0b691729
parent 4bb769e4e0c54994c5499048ee6185d7b9c5ec5c
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 11 Jul 2012 01:04:15 +0200

Check for nightly builds and if found, don't do anything. Fixes #227

Diffstat:
Msrc/backend/PartKeepr/PartKeepr.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/backend/PartKeepr/PartKeepr.php b/src/backend/PartKeepr/PartKeepr.php @@ -136,6 +136,7 @@ class PartKeepr { $versions = json_decode($data, true); if (PartKeeprVersion::PARTKEEPR_VERSION == "{V_GIT}") { return; } + if (substr(PartKeeprVersion::PARTKEEPR_VERSION,0,17) == "partkeepr-nightly") { return; } if (version_compare(PartKeepr::getVersion(), $versions[0]["version"], '<')) {