aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-12-17 14:39:40 +0100
committerGitHub <noreply@github.com>2021-12-17 14:39:40 +0100
commit4b36f9d92f886609e34f5a180f38e6034aacbd79 (patch)
tree22f9f9b3a233b41044c99f36f814e71f5a793cd8 /lib/public
parente23133887644a2a024d0458c849b857cb85bd7f4 (diff)
parent241dfef7fb07cb5908ef6bed0f584ebeb277f653 (diff)
downloadnextcloud-server-4b36f9d92f886609e34f5a180f38e6034aacbd79.tar.gz
nextcloud-server-4b36f9d92f886609e34f5a180f38e6034aacbd79.zip
Merge pull request #30130 from nextcloud/fix/config_is_read_only
Don't write to config file if `config_is_read_only` is set
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IConfig.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php
index 6b396624556..33b9c97971a 100644
--- a/lib/public/IConfig.php
+++ b/lib/public/IConfig.php
@@ -47,6 +47,7 @@ interface IConfig {
*
* @param array $configs Associative array with `key => value` pairs
* If value is null, the config key will be deleted
+ * @throws HintException if config file is read-only
* @since 8.0.0
*/
public function setSystemValues(array $configs);
@@ -56,6 +57,7 @@ interface IConfig {
*
* @param string $key the key of the value, under which will be saved
* @param mixed $value the value that should be stored
+ * @throws HintException if config file is read-only
* @since 8.0.0
*/
public function setSystemValue($key, $value);