aboutsummaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-11 16:08:26 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-17 16:36:23 +0200
commitdf072471a7739e0bba30bf2d1687d6461354daf1 (patch)
tree0169170e7b5fb4e280c5c34244d9943b84481eb3 /status.php
parent2378012ee01c8eab6438d9c9005253c5b21f5e14 (diff)
downloadnextcloud-server-df072471a7739e0bba30bf2d1687d6461354daf1.tar.gz
nextcloud-server-df072471a7739e0bba30bf2d1687d6461354daf1.zip
Add extendedSupport to Subscription
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'status.php')
-rw-r--r--status.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/status.php b/status.php
index 274a2edc610..a42af5a6b68 100644
--- a/status.php
+++ b/status.php
@@ -42,14 +42,16 @@ try {
# see core/lib/private/legacy/defaults.php and core/themes/example/defaults.php
# for description and defaults
$defaults = new \OCP\Defaults();
- $values=array(
+ $values = [
'installed'=>$installed,
'maintenance' => $maintenance,
'needsDbUpgrade' => \OCP\Util::needUpgrade(),
'version'=>implode('.', \OCP\Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
'edition'=> '',
- 'productname'=>$defaults->getName());
+ 'productname'=>$defaults->getName(),
+ 'extendedSupport' => \OCP\Util::hasExtendedSupport()
+ ];
if (OC::$CLI) {
print_r($values);
} else {