Change version number update occurs on to prevent problem with betas, users using the 4.5 betas will have to manually trigger the update if they want to get their old shared files back again

This commit is contained in:
Michael Gapczynski 2012-09-10 21:57:05 -04:00
parent 6a29bbda7a
commit ff6141b1e9

View file

@ -1,6 +1,6 @@
<?php
$installedVersion = OCP\Config::getAppValue('files_sharing', 'installed_version');
if (version_compare($installedVersion, '0.3.2', '<')) {
if (version_compare($installedVersion, '0.3', '<')) {
$query = OCP\DB::prepare('SELECT * FROM `*PREFIX*sharing`');
$result = $query->execute();
$groupShares = array();