From: Thomas Müller Date: Wed, 18 Sep 2013 09:07:19 +0000 (+0200) Subject: using OC_Config::$object->setValue in order to get the underlying exception thrown... X-Git-Tag: v6.0.0alpha2~115^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ce58c32c901fb874264922dabec1692f9d05123d;p=nextcloud-server.git using OC_Config::$object->setValue in order to get the underlying exception thrown up to the caller --- diff --git a/lib/util.php b/lib/util.php index 41f5f1d16be..b9ff07a03fa 100755 --- a/lib/util.php +++ b/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; }