Fix variable
This commit is contained in:
parent
00e28cf156
commit
36827d1549
|
@ -126,7 +126,7 @@ class Shared_Cache extends Cache {
|
|||
*/
|
||||
public function put($file, array $data) {
|
||||
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)) {
|
||||
return $cache->put($this->files[$file], $data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue