using OC_Config::$object->setValue in order to get the underlying exception thrown up to the caller

This commit is contained in:
Thomas Müller 2013-09-18 11:07:19 +02:00
parent 5ae4d67540
commit ce58c32c90
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}