From: Thomas Müller Date: Mon, 2 Feb 2015 09:49:46 +0000 (+0100) Subject: add libs which have no version number X-Git-Tag: v8.0.0RC2~12^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82b271855c019c23e1e8163f9f7a02def8c36dc3;p=nextcloud-server.git add libs which have no version number --- diff --git a/lib/private/app/platformrepository.php b/lib/private/app/platformrepository.php index 96d04ec2e42..be825e74ca3 100644 --- a/lib/private/app/platformrepository.php +++ b/lib/private/app/platformrepository.php @@ -28,13 +28,10 @@ class PlatformRepository { $ext = new \ReflectionExtension($name); try { $prettyVersion = $ext->getVersion(); + $prettyVersion = $this->normalizeVersion($prettyVersion); } catch (\UnexpectedValueException $e) { $prettyVersion = '0'; - } - try { $prettyVersion = $this->normalizeVersion($prettyVersion); - } catch (\UnexpectedValueException $e) { - continue; } $packages[$this->buildPackageName($name)] = $prettyVersion;