diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-07-17 03:59:41 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-07-17 03:59:41 +0200 |
commit | 1f4d6896df039bfb02878fbbf146c7f23ae09c74 (patch) | |
tree | 951b0c6ed8355985f9464d808930972bb1179c53 /apps | |
parent | 258df5eea2fe7db6b03cf20f3c16357487dc425b (diff) | |
download | nextcloud-server-1f4d6896df039bfb02878fbbf146c7f23ae09c74.tar.gz nextcloud-server-1f4d6896df039bfb02878fbbf146c7f23ae09c74.zip |
Wrong version comparison in update.php.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/appinfo/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/appinfo/update.php b/apps/contacts/appinfo/update.php index 873899f578b..21e736bb446 100644 --- a/apps/contacts/appinfo/update.php +++ b/apps/contacts/appinfo/update.php @@ -1,7 +1,7 @@ <?php $installedVersion=OCP\Config::getAppValue('contacts', 'installed_version'); -if (version_compare($installedVersion, '0.2.90', '<')) { +if (version_compare($installedVersion, '0.2.3', '<')) { // First set all address books in-active. $stmt = OCP\DB::prepare( 'UPDATE *PREFIX*contacts_addressbooks SET active=0' ); $result = $stmt->execute(array()); |