mirror of
https://github.com/nextcloud/server.git
synced 2024-07-25 13:54:59 +02:00
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)) {
|
||||
// We need to guarantee at least one letter in instanceid so it can be used as the session_name
|
||||
$id = 'oc' . self::generateRandomBytes(10);
|
||||
OC_Config::setValue('instanceid', $id);
|
||||
OC_Config::$object->setValue('instanceid', $id);
|
||||
}
|
||||
return $id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user