diff options
Diffstat (limited to 'lib/public/iconfig.php')
-rw-r--r-- | lib/public/iconfig.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/iconfig.php b/lib/public/iconfig.php index 1d3502ffb4c..fe0f1273a80 100644 --- a/lib/public/iconfig.php +++ b/lib/public/iconfig.php @@ -109,8 +109,10 @@ interface IConfig { * @param string $appName the appName that we want to store the value under * @param string $key the key under which the value is being stored * @param string $value the value that you want to store + * @param string $preCondition only update if the config value was previously the value passed as $preCondition + * @throws \OCP\PreConditionNotMetException if a precondition is specified and is not met */ - public function setUserValue($userId, $appName, $key, $value); + public function setUserValue($userId, $appName, $key, $value, $preCondition = null); /** * Shortcut for getting a user defined value |