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:
authorJoas Schilling <coding@schilljs.com>2016-09-06 15:00:54 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-06 15:00:54 +0300
commitbbc5fbe8c4764d565506de75733284400e2d3a28 (patch)
tree4bf058a0208233814de6a120860f71301bdd57ca /status.php
parent7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3 (diff)
Don't throw 500 when not installed
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 5b4b950139b..ed7287cb317 100644
--- a/status.php
+++ b/status.php
@@ -43,7 +43,7 @@ try {
'maintenance' => $maintenance,
'version'=>implode('.', \OCP\Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
- 'edition'=>OC_Util::getEditionString(),
+ 'edition'=> $installed ? OC_Util::getEditionString() : '',
'productname'=>$defaults->getName());
if (OC::$CLI) {
print_r($values);