aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2025-04-08 17:56:14 +0200
committerGitHub <noreply@github.com>2025-04-08 17:56:14 +0200
commit6efd9b751128777f927b4b0c0a1b7d08c183f1d1 (patch)
treea2912c065ec5199745603352fc3e1dca83bf92d9
parentbaa79a9c40cff794446c68c1548a20dd6477501d (diff)
downloadnextcloud-server-feat/cleanup-oc-util-methods.tar.gz
nextcloud-server-feat/cleanup-oc-util-methods.zip
fix: add more details in documented alternativesfeat/cleanup-oc-util-methods
Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
-rw-r--r--lib/private/legacy/OC_Util.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index f6413d57907..580fec7b5b3 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -58,7 +58,7 @@ class OC_Util {
*
* @param bool $checkGroupMembership Check group membership exclusion
* @return bool
- * @deprecated 32.0.0 use shareApiLinkEnforcePassword directly
+ * @deprecated 32.0.0 use OCP\Share\IManager's shareApiLinkEnforcePassword directly
*/
public static function isPublicLinkPasswordRequired(bool $checkGroupMembership = true) {
/** @var IManager $shareManager */
@@ -72,7 +72,7 @@ class OC_Util {
* @param IGroupManager $groupManager
* @param IUser|null $user
* @return bool
- * @deprecated 32.0.0 use sharingDisabledForUser directly
+ * @deprecated 32.0.0 use OCP\Share\IManager's sharingDisabledForUser directly
*/
public static function isSharingDisabledForUser(IConfig $config, IGroupManager $groupManager, $user) {
/** @var IManager $shareManager */
@@ -85,7 +85,7 @@ class OC_Util {
* check if share API enforces a default expire date
*
* @return bool
- * @deprecated 32.0.0 use shareApiLinkDefaultExpireDateEnforced directly
+ * @deprecated 32.0.0 use OCP\Share\IManager's shareApiLinkDefaultExpireDateEnforced directly
*/
public static function isDefaultExpireDateEnforced() {
/** @var IManager $shareManager */
@@ -615,7 +615,7 @@ class OC_Util {
* the apps visible for the current user
*
* @return string URL
- * @deprecated 32.0.0 use linkToDefaultPageUrl directly
+ * @deprecated 32.0.0 use IURLGenerator's linkToDefaultPageUrl directly
*/
public static function getDefaultPageUrl() {
/** @var IURLGenerator $urlGenerator */