Don't throw 500 when not installed
This commit is contained in:
parent
0a2b5b75de
commit
1131140e69
|
@ -40,7 +40,7 @@ try {
|
||||||
'maintenance' => $maintenance,
|
'maintenance' => $maintenance,
|
||||||
'version'=>implode('.', \OCP\Util::getVersion()),
|
'version'=>implode('.', \OCP\Util::getVersion()),
|
||||||
'versionstring'=>OC_Util::getVersionString(),
|
'versionstring'=>OC_Util::getVersionString(),
|
||||||
'edition'=>OC_Util::getEditionString());
|
'edition'=> $installed ? OC_Util::getEditionString() : '');
|
||||||
if (OC::$CLI) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue