From 82b271855c019c23e1e8163f9f7a02def8c36dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 2 Feb 2015 10:49:46 +0100 Subject: [PATCH] add libs which have no version number --- lib/private/app/platformrepository.php | 7 ++----- 1 file changed, 2 insertions(+), 5 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(); - } catch (\UnexpectedValueException $e) { - $prettyVersion = '0'; - } - try { $prettyVersion = $this->normalizeVersion($prettyVersion); } catch (\UnexpectedValueException $e) { - continue; + $prettyVersion = '0'; + $prettyVersion = $this->normalizeVersion($prettyVersion); } $packages[$this->buildPackageName($name)] = $prettyVersion;