diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-17 19:36:23 +0000 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-17 19:36:23 +0000 |
commit | 760f5fc5e550b6444ed156c600fee7673b330857 (patch) | |
tree | 4bc3a4d709396ec57ebbf62aa29964246f8474c8 /apps | |
parent | ebb834d879f10ea24b8cf032f6f0000076843195 (diff) | |
parent | 1f4aa5350aa72d8b8aeb0d93929c19e32f48cd6b (diff) | |
download | nextcloud-server-760f5fc5e550b6444ed156c600fee7673b330857.tar.gz nextcloud-server-760f5fc5e550b6444ed156c600fee7673b330857.zip |
Merge pull request #14954 from owncloud/cache-image-path
Cache \OC\URLGenerator::imagePath
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 50a6432dd95..9e4e8d23151 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -10,7 +10,7 @@ // This file is just used to redirect the legacy sharing URLs (< ownCloud 8) to the new ones -$urlGenerator = new \OC\URLGenerator(\OC::$server->getConfig()); +$urlGenerator = \OC::$server->getURLGenerator(); $token = isset($_GET['t']) ? $_GET['t'] : ''; $route = isset($_GET['download']) ? 'files_sharing.sharecontroller.downloadShare' : 'files_sharing.sharecontroller.showShare'; |