diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-10 16:21:41 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-08-10 16:21:41 +0200 |
commit | e6eb74958fd9779362fbde788cbfac982783abc0 (patch) | |
tree | 500b7b12008967002ea3f86ddd1e2ed9602ba76e /apps/files_trashbin/command | |
parent | 5fea6f753e27939a693041288d46115154dac051 (diff) | |
download | nextcloud-server-e6eb74958fd9779362fbde788cbfac982783abc0.tar.gz nextcloud-server-e6eb74958fd9779362fbde788cbfac982783abc0.zip |
Remove unnecessary DB prefixes from existing query builder usages
Diffstat (limited to 'apps/files_trashbin/command')
-rw-r--r-- | apps/files_trashbin/command/cleanup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/command/cleanup.php b/apps/files_trashbin/command/cleanup.php index 0cc94912339..60717abac18 100644 --- a/apps/files_trashbin/command/cleanup.php +++ b/apps/files_trashbin/command/cleanup.php @@ -108,7 +108,7 @@ class CleanUp extends Command { if ($this->rootFolder->nodeExists('/' . $uid . '/files_trashbin')) { $this->rootFolder->get('/' . $uid . '/files_trashbin')->delete(); $query = $this->dbConnection->getQueryBuilder(); - $query->delete('*PREFIX*files_trash') + $query->delete('files_trash') ->where($query->expr()->eq('user', $query->createParameter('uid'))) ->setParameter('uid', $uid); $query->execute(); |