summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-06-10 14:46:47 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-10 14:46:47 +0200
commit1d9b4aadbf65794f34c70ece5d3faa784191acf1 (patch)
tree3a9b97643b05ef39a5d62154d812c1b0867e0ff8 /apps
parent3da47db33cd9a676a1f5b51a8c8ed1abe617ce3e (diff)
downloadnextcloud-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.php1
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);