diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:46:47 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:46:47 +0200 |
commit | 1d9b4aadbf65794f34c70ece5d3faa784191acf1 (patch) | |
tree | 3a9b97643b05ef39a5d62154d812c1b0867e0ff8 /apps | |
parent | 3da47db33cd9a676a1f5b51a8c8ed1abe617ce3e (diff) | |
download | nextcloud-server-1d9b4aadbf65794f34c70ece5d3faa784191acf1.tar.gz nextcloud-server-1d9b4aadbf65794f34c70ece5d3faa784191acf1.zip |
no need to prepare a statement twice
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/tests/api.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php index 3c683afacb4..72dd5816ea0 100644 --- a/apps/files_sharing/tests/api.php +++ b/apps/files_sharing/tests/api.php @@ -1166,7 +1166,6 @@ class Test_Files_Sharing_Api extends Test_Files_Sharing_Base { $query = \OCP\DB::prepare($statement); $result = $query->execute(array($shareCreated, \OCP\Share::SHARE_TYPE_LINK)); $this->assertSame(1, $result); - $statement = "UPDATE `*PREFIX*share` SET `stime` = ? WHERE `share_type` = ?"; $query = \OCP\DB::prepare($statement); $result = $query->execute(array($shareCreated, \OCP\Share::SHARE_TYPE_USER)); $this->assertSame(1, $result); |