Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 {