Files
nextcloud-server-mirror/apps/dav/lib/Migration
Daniel Kesselberg 108916cf5e fix: use faster method to fetch user count
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-14 12:19:22 +02:00
..
2021-06-04 22:02:41 +02:00
2021-06-04 22:02:41 +02:00