diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-16 10:41:21 +0200 |
---|---|---|
committer | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-10-17 09:21:07 +0200 |
commit | c254855222ca2776ccaa9c362b84295391cdd208 (patch) | |
tree | 0209b59a3dff7bd3a50629dfb6c8376e02dc43af /lib/private/Accounts | |
parent | 4100f583f03464978e622f5765bbef33e363c97f (diff) | |
download | nextcloud-server-c254855222ca2776ccaa9c362b84295391cdd208.tar.gz nextcloud-server-c254855222ca2776ccaa9c362b84295391cdd208.zip |
chore(db): Correctly apply query types
fix: psalm
fix: error
fix: add batch
fix: fatal error
fix: add batch
chore: add batch
chore: add batch
fix: psalm
fix: typo
fix: psalm
fix: return bool
fix: revert Manager
Diffstat (limited to 'lib/private/Accounts')
-rw-r--r-- | lib/private/Accounts/AccountManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php index 2ab2beb6d3e..0d091786cd6 100644 --- a/lib/private/Accounts/AccountManager.php +++ b/lib/private/Accounts/AccountManager.php @@ -243,7 +243,7 @@ class AccountManager implements IAccountManager { $query = $this->connection->getQueryBuilder(); $query->delete($this->table) ->where($query->expr()->eq('uid', $query->createNamedParameter($uid))) - ->execute(); + ->executeStatement(); $this->deleteUserData($user); } @@ -256,7 +256,7 @@ class AccountManager implements IAccountManager { $query = $this->connection->getQueryBuilder(); $query->delete($this->dataTable) ->where($query->expr()->eq('uid', $query->createNamedParameter($uid))) - ->execute(); + ->executeStatement(); } /** |