2015-01-12 19:04:19 +03:00
|
|
|
<?php
|
2015-02-26 13:37:37 +03:00
|
|
|
|
2015-01-12 19:04:19 +03:00
|
|
|
use OCA\Files_Sharing\Migration;
|
|
|
|
|
|
|
|
$installedVersion = \OC::$server->getConfig()->getAppValue('files_sharing', 'installed_version');
|
|
|
|
|
|
|
|
// Migration OC7 -> OC8
|
|
|
|
if (version_compare($installedVersion, '0.6.0', '<')) {
|
|
|
|
$m = new Migration();
|
|
|
|
$m->addAcceptRow();
|
|
|
|
}
|
|
|
|
|