Fix deprecation remark in UserUtil::isAvailable*()
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 16 Dec 2021 10:34:30 +0000 (11:34 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 16 Dec 2021 10:34:30 +0000 (11:34 +0100)
see #4602
see 7ce5915fd75e90a4dd2d546b892fe08b6335a273
see 5856dc0cbd396d7d3592480606fbdcc0c3f30f50

wcfsetup/install/files/lib/util/UserUtil.class.php

index 316669d75844d566f62550eca2504f5d258af33a..a26d2ca9bc7433b636e8141b7af2f62b5dae440d 100644 (file)
@@ -47,7 +47,7 @@ final class UserUtil
     }
 
     /**
-     * @deprecated 5.5 Check whether `User::getUserByUsername()->userID` is truthy.
+     * @deprecated 5.5 Check whether `User::getUserByUsername()->userID` is falsy.
      */
     public static function isAvailableUsername($name)
     {
@@ -89,7 +89,7 @@ final class UserUtil
     }
 
     /**
-     * @deprecated 5.5 Check whether `User::getUserByEmail()->userID` is truthy.
+     * @deprecated 5.5 Check whether `User::getUserByEmail()->userID` is falsy.
      */
     public static function isAvailableEmail($email)
     {