diff options
Diffstat (limited to 'lib/private/app/platformrepository.php')
-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; |