]> source.dussan.org Git - nextcloud-server.git/commit
Use a lazy user for the file owner when listing a directory 32118/head
authorRobin Appelman <robin@icewind.nl>
Fri, 22 Apr 2022 14:29:52 +0000 (16:29 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Mon, 25 Apr 2022 12:59:29 +0000 (14:59 +0200)
commit79672ed6d6a49839b4d5ebefc2619b1d09a9feab
treef10b0be4bbd15842ec95eae2a66e4f4cb1fee169
parentd1e244b85928acc71bd482e3c20c756cc3457c95
Use a lazy user for the file owner when listing a directory

Only getUID and getDisplayName are called on the file owner objects anyway
and we can get this information often without DB request

Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Files/View.php
lib/private/User/LazyUser.php [new file with mode: 0644]