From 0744d1cf6b6f4042f3b94d78168312fcf4601fae Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 11 Dec 2025 12:30:15 +0100 Subject: [PATCH] fix(IConfig): Change deprecation release to 33.0.0 The implementation was deprecated in 31.0.0 but since this wasn't done on the interface, this is considered invalid. So change that to 33.0.0. Signed-off-by: Carl Schwan --- lib/public/IConfig.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index a2587aa571d..4734f40cb3f 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -164,7 +164,7 @@ interface IConfig { * @throws \OCP\PreConditionNotMetException if a precondition is specified and is not met * @throws \UnexpectedValueException when trying to store an unexpected value * @since 6.0.0 - parameter $precondition was added in 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig} directly + * @deprecated 33.0.0 - use {@see IUserConfig} directly */ public function setUserValue($userId, $appName, $key, $value, $preCondition = null); @@ -177,7 +177,7 @@ interface IConfig { * @param mixed $default the default value to be returned if the value isn't set * @return string * @since 6.0.0 - parameter $default was added in 7.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig} directly + * @deprecated 33.0.0 - use {@see IUserConfig} directly */ public function getUserValue($userId, $appName, $key, $default = ''); @@ -188,7 +188,7 @@ interface IConfig { * @param string $key the key to get the value for * @param array $userIds the user IDs to fetch the values for * @return array Mapped values: userId => value - * @deprecated 31.0.0 - use {@see IUserConfig::getValuesByUsers} directly + * @deprecated 33.0.0 - use {@see IUserConfig::getValuesByUsers} directly * @since 8.0.0 */ public function getUserValueForUsers($appName, $key, $userIds); @@ -200,7 +200,7 @@ interface IConfig { * @param string $appName the appName that we stored the value under * @return string[] * @since 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::getKeys} directly + * @deprecated 33.0.0 - use {@see IUserConfig::getKeys} directly */ public function getUserKeys($userId, $appName); @@ -214,7 +214,7 @@ interface IConfig { * [ $key => $value ] * ] * @since 24.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::getAllValues} directly + * @deprecated 33.0.0 - use {@see IUserConfig::getAllValues} directly */ public function getAllUserValues(string $userId): array; @@ -225,7 +225,7 @@ interface IConfig { * @param string $appName the appName that we stored the value under * @param string $key the key under which the value is being stored * @since 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::deleteUserConfig} directly + * @deprecated 33.0.0 - use {@see IUserConfig::deleteUserConfig} directly */ public function deleteUserValue($userId, $appName, $key); @@ -234,7 +234,7 @@ interface IConfig { * * @param string $userId the userId of the user that we want to remove all values from * @since 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::deleteAllUserConfig} directly + * @deprecated 33.0.0 - use {@see IUserConfig::deleteAllUserConfig} directly */ public function deleteAllUserValues($userId); @@ -243,7 +243,7 @@ interface IConfig { * * @param string $appName the appName of the app that we want to remove all values from * @since 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::deleteApp} directly + * @deprecated 33.0.0 - use {@see IUserConfig::deleteApp} directly */ public function deleteAppFromAllUsers($appName); @@ -254,9 +254,9 @@ interface IConfig { * @param string $key the key to get the user for * @param string $value the value to get the user for * @return list of user IDs - * @since 31.0.0 return type of `list` + * @since 33.0.0 return type of `list` * @since 8.0.0 - * @deprecated 31.0.0 - use {@see IUserConfig::searchUsersByValueString} directly + * @deprecated 33.0.0 - use {@see IUserConfig::searchUsersByValueString} directly */ public function getUsersForUserValue($appName, $key, $value); }