diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-02 10:49:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-02 10:49:46 +0100 |
commit | 82b271855c019c23e1e8163f9f7a02def8c36dc3 (patch) | |
tree | c1e6edcdb0b3f38da0912440e45f6c669ffdd8de | |
parent | c9543c9e8ed2ac8dc55f0df38504c7dc4f5138be (diff) | |
download | nextcloud-server-82b271855c019c23e1e8163f9f7a02def8c36dc3.tar.gz nextcloud-server-82b271855c019c23e1e8163f9f7a02def8c36dc3.zip |
add libs which have no version number
-rw-r--r-- | lib/private/app/platformrepository.php | 5 |
1 files changed, 1 insertions, 4 deletions
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; |