mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
also update shared watcher
This commit is contained in:
parent
0a3f57f832
commit
6ed9f53fcd
1 changed files with 4 additions and 2 deletions
|
|
@ -30,9 +30,11 @@ class Shared_Watcher extends Watcher {
|
|||
* check $path for updates
|
||||
*
|
||||
* @param string $path
|
||||
* @param array $cachedEntry
|
||||
* @return boolean true if path was updated
|
||||
*/
|
||||
public function checkUpdate($path) {
|
||||
if (parent::checkUpdate($path) === true) {
|
||||
public function checkUpdate($path, $cachedEntry = null) {
|
||||
if (parent::checkUpdate($path, $cachedEntry) === true) {
|
||||
// since checkUpdate() has already updated the size of the subdirs,
|
||||
// only apply the update to the owner's parent dirs
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue