summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-18 11:07:19 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-18 11:07:19 +0200
commitce58c32c901fb874264922dabec1692f9d05123d (patch)
treef6eaa8e1eeb3e2a440b6a6781cd78768b29d9fdc /lib
parent5ae4d675406b310df0940c8b9a43dcf556010e91 (diff)
downloadnextcloud-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-xlib/util.php2
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;
}