aboutsummaryrefslogtreecommitdiffstats
path: root/lib/updater.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-04-01 11:20:12 +0200
committerFrank Karlitschek <karlitschek@kde.org>2012-04-01 11:20:12 +0200
commit6545e4878715c10d85a72b1cdb3f7cef73d7e383 (patch)
treeb915bd496a0425d94748f633f23ee4ff43b33231 /lib/updater.php
parent6bb48b2731185dd93ad1a1edc52f33725cd99061 (diff)
downloadnextcloud-server-6545e4878715c10d85a72b1cdb3f7cef73d7e383.tar.gz
nextcloud-server-6545e4878715c10d85a72b1cdb3f7cef73d7e383.zip
Show the different editions to the user. Used in the status call, on the personal settings page and in the updater to update to the next available version from the same edition.
Diffstat (limited to 'lib/updater.php')
-rw-r--r--lib/updater.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/updater.php b/lib/updater.php
index 57623797ae5..196822ac35d 100644
--- a/lib/updater.php
+++ b/lib/updater.php
@@ -36,6 +36,7 @@ class OC_Updater{
$version['installed']=OC_Config::getValue('installedat');
$version['updated']=OC_Appconfig::getValue('core', 'lastupdatedat', OC_Config::getValue( 'lastupdatedat'));
$version['updatechannel']='stable';
+ $version['edition']=OC_Util::getEditionString();
$versionstring=implode('x',$version);
//fetch xml data from updater