Skip to content
Snippets Groups Projects
Unverified Commit 3e403828 authored by martin.mattel@diemattels.at's avatar martin.mattel@diemattels.at Committed by Arthur Schiwon
Browse files

Include "Product Name" in status.php printout

identifyer -> identifier

removed variable
parent 3647fbe7
No related branches found
No related tags found
No related merge requests found
......@@ -35,12 +35,16 @@ try {
$installed = (bool) $systemConfig->getValue('installed', false);
$maintenance = (bool) $systemConfig->getValue('maintenance', false);
# see core/lib/private/legacy/defaults.php and core/themes/example/defaults.php
# for description and defaults
$defaults = new \OC_Defaults();
$values=array(
'installed'=>$installed,
'maintenance' => $maintenance,
'version'=>implode('.', \OCP\Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
'edition'=>OC_Util::getEditionString());
'edition'=>OC_Util::getEditionString(),
'productname'=>$defaults->getName());
if (OC::$CLI) {
print_r($values);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment