]> source.dussan.org Git - nextcloud-server.git/commit
Use a lazy user for the file owner when listing a directory 32082/head
authorRobin Appelman <robin@icewind.nl>
Fri, 22 Apr 2022 14:29:52 +0000 (16:29 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Fri, 22 Apr 2022 15:02:37 +0000 (17:02 +0200)
commit7a6c724a8122fe51c4d912f399474596a6aea7d1
tree5ac624530974bac8531ca560bcbe38b58e682b63
parent9a76f06ecadf05ef1d26bd735df1bea0dfb15d59
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]