mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
if file gets modified, always remove etag for all shared folder to make sure that the sync client checks the shared folder for changes
This commit is contained in:
parent
5f7d053c3a
commit
501bb0afd6
1 changed files with 7 additions and 0 deletions
|
|
@ -275,6 +275,13 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
|
|||
);
|
||||
$vals = array( $source['user'], self::GETETAG_PROPERTYNAME );
|
||||
$query->execute(array_merge( $vals, $paths ));
|
||||
|
||||
//remove etag for all Shared folders
|
||||
$query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
|
||||
.' WHERE `propertypath` = "/Shared"'
|
||||
);
|
||||
$query->execute(array());
|
||||
|
||||
}
|
||||
|
||||
protected function getFileSource($path) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue