Fixes update of shared files with mirall because it dose not update all methadata for a file

remotes/origin/stable5
Maximilian Ruta 12 years ago
parent 486b8013d0
commit ac4cafcfc7
  1. 2
      lib/filecache.php

@ -137,6 +137,7 @@ class OC_FileCache{
}
$arguments[]=$id;
if(!empty($queryParts)) {
$sql = 'UPDATE `*PREFIX*fscache` SET '.implode(' , ', $queryParts).' WHERE `id`=?';
$query=OC_DB::prepare($sql);
$result=$query->execute($arguments);
@ -144,6 +145,7 @@ class OC_FileCache{
OC_Log::write('files', 'error while updating file('.$id.') in cache', OC_Log::ERROR);
}
}
}
/**
* register a file move in the cache

Loading…
Cancel
Save