fix: properly deprecate IOCMProvider

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2025-06-16 12:20:40 +02:00
parent 10852e01be
commit 967b634a82
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2
2 changed files with 1 additions and 1 deletions

View file

@ -1274,7 +1274,6 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(IPhoneNumberUtil::class, PhoneNumberUtil::class);
$this->registerAlias(ICapabilityAwareOCMProvider::class, OCMProvider::class);
/** @deprecated 32.0.0 */
$this->registerDeprecatedAlias(IOCMProvider::class, OCMProvider::class);
$this->registerAlias(ISetupCheckManager::class, SetupCheckManager::class);

View file

@ -16,6 +16,7 @@ use OCP\OCM\Exceptions\OCMProviderException;
* Model based on the Open Cloud Mesh Discovery API
* @link https://github.com/cs3org/OCM-API/
* @since 28.0.0
* @deprecated 32.0.0 Please use {@see \OCP\OCM\ICapabilityAwareOCMProvider}
*/
interface IOCMProvider extends JsonSerializable {
/**