Don't throw 500 when not installed

This commit is contained in:
Joas Schilling 2016-09-06 14:00:54 +02:00
parent a9a43e9384
commit 8ada5e6ca7
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {