]> source.dussan.org Git - nextcloud-server.git/commit
Reduce the getAppPath and autoloader calls 23976/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sat, 7 Nov 2020 16:24:41 +0000 (17:24 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 7 Nov 2020 16:24:41 +0000 (17:24 +0100)
commitd8637c62e0b77cc597c9e11e4ea2bcbdd5c74646
tree67b9099196713dd3f7d88209f8390a80b1780cd3
parenta5fa9604babdab101357016066ed72b4fcab1d21
Reduce the getAppPath and autoloader calls

The getAppPath will always return the same data for the same appId. It
is actually already cached. However we do some cleanup of the appId
(again). Same for the autoloading it is actually already checked.

This just removes the unneeded calls. Which can add up if you have a lot
of incomming shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/legacy/OC_App.php