From 4369dfe43f968e0c017c8a4963d754b6746cc5ae Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 1 Aug 2013 16:45:14 +0200 Subject: [PATCH] fix logical mistake in version comparison --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 0a827d032a5..282b53d9a40 100644 --- a/lib/db.php +++ b/lib/db.php @@ -589,7 +589,7 @@ class OC_DB { self::$schema->db->database_name=self::$schema->db->dsn['username']; $installedVersion = \OC_Config::getValue('version', '0.0.0'); - if (version_compare('5.0.15', $installedVersion, '<=')) { + if (version_compare($installedVersion, '5.0.15', '<=')) { //configvalue in oc_appconfig must be allowed to contain NULL //because it is a CLOB, we need to move heaven and earth a bit //i.e. rename it and copy values -- 2.39.5