mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Wrong version comparison in update.php.
This commit is contained in:
parent
31465b7f31
commit
bbbc4d8ed0
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user