Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify app manager method names #49648

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: Fix version number in OCP doc
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Feb 6, 2025
commit 70db9ebd52a2994465444ab448fe4800c53a01e8
8 changes: 4 additions & 4 deletions lib/public/App/IAppManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ public function isEnabledForUser($appId, $user = null);
* @param string $appId
* @return bool
* @since 8.0.0
* @deprecated 31.0.0 Use either {@see self::isEnabledForUser} or {@see self::isEnabledForAnyone}
* @deprecated 32.0.0 Use either {@see self::isEnabledForUser} or {@see self::isEnabledForAnyone}
*/
public function isInstalled($appId);

/**
* Check if an app is enabled in the instance, either for everyone or for specific groups
*
* @since 31.0.0
* @since 32.0.0
*/
public function isEnabledForAnyone(string $appId): bool;

Expand Down Expand Up @@ -186,15 +186,15 @@ public function getEnabledAppsForUser(IUser $user);
*
* @return string[]
* @since 8.1.0
* @deprecated 31.0.0 Use either {@see self::getEnabledApps} or {@see self::getEnabledAppsForUser}
* @deprecated 32.0.0 Use either {@see self::getEnabledApps} or {@see self::getEnabledAppsForUser}
*/
public function getInstalledApps();

/**
* List all apps enabled, either for everyone or for specific groups only
*
* @return list<string>
* @since 31.0
* @since 32.0.0
*/
public function getEnabledApps(): array;

Expand Down
Loading