diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-18 11:07:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-18 11:07:19 +0200 |
commit | ce58c32c901fb874264922dabec1692f9d05123d (patch) | |
tree | f6eaa8e1eeb3e2a440b6a6781cd78768b29d9fdc /lib | |
parent | 5ae4d675406b310df0940c8b9a43dcf556010e91 (diff) | |
download | nextcloud-server-ce58c32c901fb874264922dabec1692f9d05123d.tar.gz nextcloud-server-ce58c32c901fb874264922dabec1692f9d05123d.zip |
using OC_Config::$object->setValue in order to get the underlying exception thrown up to the caller
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |