Fix variable

This commit is contained in:
Michael Gapczynski 2013-02-23 16:09:56 -05:00
parent 00e28cf156
commit 36827d1549
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class Shared_Cache extends Cache {
*/ */
public function put($file, array $data) { public function put($file, array $data) {
if ($file == '' && isset($data['etag'])) { if ($file == '' && isset($data['etag'])) {
\OCP\Config::setUserValue(\OCP\User::getUser(), 'files_sharing', 'etag', $etag); \OCP\Config::setUserValue(\OCP\User::getUser(), 'files_sharing', 'etag', $data['etag']);
} else if ($cache = $this->getSourceCache($file)) { } else if ($cache = $this->getSourceCache($file)) {
return $cache->put($this->files[$file], $data); return $cache->put($this->files[$file], $data);
} }