diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-12 15:13:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-03-12 15:13:37 +0100 |
commit | 8195b17ed7aebb5fc6aa900005076040130a8295 (patch) | |
tree | 54e342f85285d511551af7acd5bccbd2d7f160fe /apps/user_ldap/lib/Helper.php | |
parent | af89db3407e599ea47d62a851759fa929cdd4713 (diff) | |
download | nextcloud-server-8195b17ed7aebb5fc6aa900005076040130a8295.tar.gz nextcloud-server-8195b17ed7aebb5fc6aa900005076040130a8295.zip |
Remove deprecated and unsused methods of OCP\DB
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/user_ldap/lib/Helper.php')
-rw-r--r-- | apps/user_ldap/lib/Helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Helper.php b/apps/user_ldap/lib/Helper.php index 74c7aa7a68f..fb5b5478102 100644 --- a/apps/user_ldap/lib/Helper.php +++ b/apps/user_ldap/lib/Helper.php @@ -165,7 +165,7 @@ class Helper { '); $delRows = $query->execute(array($prefix.'%')); - if(\OCP\DB::isError($delRows)) { + if($delRows === null) { return false; } |