summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Helper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-12 15:13:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-03-12 15:13:37 +0100
commit8195b17ed7aebb5fc6aa900005076040130a8295 (patch)
tree54e342f85285d511551af7acd5bccbd2d7f160fe /apps/user_ldap/lib/Helper.php
parentaf89db3407e599ea47d62a851759fa929cdd4713 (diff)
downloadnextcloud-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.php2
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;
}