summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_encryption/appinfo/info.xml3
-rw-r--r--apps/user_ldap/appinfo/info.xml3
-rw-r--r--lib/private/app/platformrepository.php5
3 files changed, 7 insertions, 4 deletions
diff --git a/apps/files_encryption/appinfo/info.xml b/apps/files_encryption/appinfo/info.xml
index 6fcef693bed..7f7e09d6271 100644
--- a/apps/files_encryption/appinfo/info.xml
+++ b/apps/files_encryption/appinfo/info.xml
@@ -19,4 +19,7 @@
<filesystem/>
</types>
<ocsid>166047</ocsid>
+ <dependencies>
+ <lib>openssl</lib>
+ </dependencies>
</info>
diff --git a/apps/user_ldap/appinfo/info.xml b/apps/user_ldap/appinfo/info.xml
index a1a934f0140..88462902421 100644
--- a/apps/user_ldap/appinfo/info.xml
+++ b/apps/user_ldap/appinfo/info.xml
@@ -18,4 +18,7 @@ A user logs into ownCloud with their LDAP or AD credentials, and is granted acce
<admin>admin-ldap</admin>
</documentation>
<ocsid>166061</ocsid>
+ <dependencies>
+ <lib>ldap</lib>
+ </dependencies>
</info>
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;