Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge López Pérez <jorge@adobo.org>2013-06-28 15:55:03 +0400
committerJorge López Pérez <jorge@adobo.org>2013-06-28 15:55:03 +0400
commit73ae650a4cbd18dbc2d2dbef18256b3029ba62ca (patch)
tree0a24f8d5daa458aa1b6089572df7d8210673215d /user_saml
parent60e645c647eb771b046a50414f5d3df2ed9f9cb2 (diff)
Fix ownCloud 5.0.x version string for version_compare()
Was wrongly using 4.93
Diffstat (limited to 'user_saml')
-rw-r--r--user_saml/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_saml/appinfo/app.php b/user_saml/appinfo/app.php
index 172d7f6b4..8259d786f 100644
--- a/user_saml/appinfo/app.php
+++ b/user_saml/appinfo/app.php
@@ -24,7 +24,7 @@
if (OCP\App::isEnabled('user_saml')) {
$ocVersion = implode('.',OCP\Util::getVersion());
- if (version_compare($ocVersion,'4.93','<')) {
+ if (version_compare($ocVersion,'5.0','<')) {
if ( ! function_exists('p')) {
function p($string) {
print(OC_Util::sanitizeHTML($string));