]> source.dussan.org Git - nextcloud-server.git/commitdiff
using OC_Config::$object->setValue in order to get the underlying exception thrown...
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 18 Sep 2013 09:07:19 +0000 (11:07 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 18 Sep 2013 09:07:19 +0000 (11:07 +0200)
lib/util.php

index 41f5f1d16be3164c29e0a293a9ae8af2a67677d5..b9ff07a03fa9cd97059c679272bfb49bbeb02ef4 100755 (executable)
@@ -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;
        }