summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-25 12:50:32 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-25 12:50:32 -0800
commit6dd1d479dabbe69be971525034b2711497e34098 (patch)
tree3c99c2ba3192161eff1497558bef6a342a419369 /lib/files
parenta533bb6dcd4a68927c21b63a83830d79384320a5 (diff)
parent9898ba4daf1acdead2ed5fa6024e779caafb353e (diff)
downloadnextcloud-server-6dd1d479dabbe69be971525034b2711497e34098.tar.gz
nextcloud-server-6dd1d479dabbe69be971525034b2711497e34098.zip
Merge pull request #1706 from owncloud/master-sqlserver
Microsoft SQL-Server support for ownCloud!
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/cache/cache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php
index 3652dc7cf23..01e6e788263 100644
--- a/lib/files/cache/cache.php
+++ b/lib/files/cache/cache.php
@@ -500,8 +500,8 @@ class Cache {
public function getIncomplete() {
$query = \OC_DB::prepare('SELECT `path` FROM `*PREFIX*filecache`'
. ' WHERE `storage` = ? AND `size` = -1 ORDER BY `fileid` DESC LIMIT 1');
- $query->execute(array($this->numericId));
- if ($row = $query->fetchRow()) {
+ $result = $query->execute(array($this->numericId));
+ if ($row = $result->fetchRow()) {
return $row['path'];
} else {
return false;