diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-25 12:50:32 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-25 12:50:32 -0800 |
commit | 6dd1d479dabbe69be971525034b2711497e34098 (patch) | |
tree | 3c99c2ba3192161eff1497558bef6a342a419369 /lib/files | |
parent | a533bb6dcd4a68927c21b63a83830d79384320a5 (diff) | |
parent | 9898ba4daf1acdead2ed5fa6024e779caafb353e (diff) | |
download | nextcloud-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.php | 4 |
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; |