mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Wrong version comparison in update.php.
This commit is contained in:
parent
258df5eea2
commit
1f4d6896df
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue