зеркало из https://github.com/nextcloud/news.git
removed useless upgrade helper
This commit is contained in:
Родитель
7ee0778f3a
Коммит
6ce173b1cd
|
@ -55,12 +55,6 @@ if(\OCP\App::isEnabled('appframework')){
|
|||
|
||||
$api->addRegularTask('OCA\News\Backgroundjob\Task', 'run');
|
||||
|
||||
// TODO: remove this after the release after the next release
|
||||
// this is done to help users upgrade properly from the beta
|
||||
if($api->getAppValue('installed_version') === '8.4') {
|
||||
$api->setAppValue('installed_version', '0.96');
|
||||
}
|
||||
|
||||
} else {
|
||||
$msg = 'Can not enable the News app because the App Framework App is disabled';
|
||||
\OCP\Util::writeLog('news', $msg, \OCP\Util::ERROR);
|
||||
|
|
Загрузка…
Ссылка в новой задаче