using OC_Config::$object->setValue in order to get the underlying exception thrown up to the caller
This commit is contained in:
parent
5ae4d67540
commit
ce58c32c90
|
@ -552,7 +552,7 @@ class OC_Util {
|
||||||
if(is_null($id)) {
|
if(is_null($id)) {
|
||||||
// We need to guarantee at least one letter in instanceid so it can be used as the session_name
|
// We need to guarantee at least one letter in instanceid so it can be used as the session_name
|
||||||
$id = 'oc' . self::generateRandomBytes(10);
|
$id = 'oc' . self::generateRandomBytes(10);
|
||||||
OC_Config::setValue('instanceid', $id);
|
OC_Config::$object->setValue('instanceid', $id);
|
||||||
}
|
}
|
||||||
return $id;
|
return $id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue