summaryrefslogtreecommitdiffstats
path: root/status.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 /status.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 'status.php')
-rw-r--r--status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.php b/status.php
index 94c8cfce842..81f339fa53f 100644
--- a/status.php
+++ b/status.php
@@ -26,7 +26,7 @@ $RUNTIME_NOAPPS = TRUE; //no apps, yet
require_once('lib/base.php');
if(OC_Config::getValue('installed')==1) $installed='true'; else $installed='false';
-$values=array('installed'=>$installed,'version'=>implode('.',OC_Util::getVersion()),'versionstring'=>OC_Util::getVersionString());
+$values=array('installed'=>$installed,'version'=>implode('.',OC_Util::getVersion()),'versionstring'=>OC_Util::getVersionString(),'edition'=>OC_Util::getEditionString());
echo(json_encode($values));