Skip to content

Commit b3d31e8

Browse files
committed
Internal: mark UserManager::is_username_available as deprecated in favor of UserRepository::isUsernameAvailable - refs BT#22300
1 parent 58e2259 commit b3d31e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

public/main/inc/lib/usermanager.lib.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,8 @@ public static function get_user_id_from_original_id(
13441344
/**
13451345
* Check if a username is available.
13461346
*
1347+
* @deprecated Use Chamilo\CoreBundle\Repository\Node\UserRepository::isUsernameAvailable() instead
1348+
*
13471349
* @param string $username the wanted username
13481350
*
13491351
* @return bool true if the wanted username is available

0 commit comments

Comments
 (0)