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

remotes/origin/stable6
Thomas Müller 12 years ago
parent 5ae4d67540
commit ce58c32c90
  1. 2
      lib/util.php

@ -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…
Cancel
Save