diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-27 08:56:51 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-27 08:56:51 +0200 |
commit | 9212089151e827b648033a4812a5dcac5058b715 (patch) | |
tree | 89ad1ee29e1a47239d6e5420f3145a43637e69fc /lib/public | |
parent | 9e6ac3de700ebf51e3677e752db4928afacbf7e6 (diff) | |
download | nextcloud-server-9212089151e827b648033a4812a5dcac5058b715.tar.gz nextcloud-server-9212089151e827b648033a4812a5dcac5058b715.zip |
Use the new method in the old one to remove duplicate code
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IUserManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index 2287a24e9ec..1ec392dfd82 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -123,7 +123,7 @@ interface IUserManager { /** * @param string $uid * @param string $password - * @throws \Exception + * @throws \InvalidArgumentException * @return bool|\OCP\IUser the created user of false * @since 8.0.0 */ @@ -134,6 +134,7 @@ interface IUserManager { * @param string $password * @param UserInterface $backend * @return IUser|null + * @throws \InvalidArgumentException * @since 12.0.0 */ public function createUserFromBackend($uid, $password, UserInterface $backend); |