зеркало из https://github.com/nextcloud/news.git
set a lower version for owncloud to enable future proper upgrades
This commit is contained in:
Родитель
d2e9cbd3c9
Коммит
a8a1a4addb
|
@ -55,6 +55,12 @@ 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);
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<name>News</name>
|
||||
<description>An RSS/Atom feed reader. Requires the App Framework app and backgroundjobs need to be enabled. See the README.rst in the apps top directory</description>
|
||||
<licence>AGPL</licence>
|
||||
<version>0.95</version>
|
||||
<author>Alessandro Cosentino, Bernhard Posselt, Jan-Christoph Borchardt. Powered by SimplePie (Ryan Parman, Geoffrey Sneddon, Ryan McCue and contributors).</author>
|
||||
<require>5.0.5</require>
|
||||
</info>
|
||||
|
|
|
@ -1 +1 @@
|
|||
8.4
|
||||
0.96
|
Загрузка…
Ссылка в новой задаче