]> source.dussan.org Git - nextcloud-server.git/commit
Fix scanning app data with metadata 32033/head
authorCarl Schwan <carl@carlschwan.eu>
Thu, 21 Apr 2022 07:57:30 +0000 (09:57 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Fri, 22 Apr 2022 13:14:59 +0000 (15:14 +0200)
commit6b6f24cafd55b6c5d50ef9708d08b70b8053101d
treee9da7e143fa4241a67e20ea8691703369cd96fb5
parent12ed5c9ff3e9dac25b43a1ad934a97a86037000b
Fix scanning app data with metadata

Previously we were listening to change in the appdata folder but an
appdata scan didn't setup the file system, so the view was unavailable.

**Test plan:**

1. rm -rf data/appdata_...../preview data/<user>/Media
2. occ files:scan-app-data
3. occ files:scan <user>

No errors and the files and metadata are correctly removed from the
database too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
lib/private/Metadata/FileEventListener.php