summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-02 22:17:34 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-02 22:17:34 +0200
commita8a1a4addb0b5977acfe4a31e6c6b8af679728e2 (patch)
tree7387ad427655d55eb0a007b27bb6244cac06d4e0 /appinfo/app.php
parentd2e9cbd3c99fff54857e0e513f563079c6dd3c26 (diff)
set a lower version for owncloud to enable future proper upgrades
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e5ffadef9..d045ea766 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -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);