summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-25 09:52:12 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-25 09:52:12 +0200
commitdb39fede97dc4d6b9a5caf739cb2c03b4dbdd21d (patch)
tree0d8c9f25deb067ce23e901c72f2af842e9002341 /apps/files_sharing/public.php
parent843f15f3489856b518a30de4c803740844232209 (diff)
parent2d12e52769a30ba37d5760b1194f613bcc71035b (diff)
downloadnextcloud-server-db39fede97dc4d6b9a5caf739cb2c03b4dbdd21d.tar.gz
nextcloud-server-db39fede97dc4d6b9a5caf739cb2c03b4dbdd21d.zip
Merge branch 'master' into appframework-master
Conflicts: apps/files/lib/helper.php apps/files_trashbin/lib/helper.php
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 8d474e87b48..eff38dcc0fd 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -22,7 +22,7 @@ function fileCmp($a, $b) {
function determineIcon($file, $sharingRoot, $sharingToken) {
// for folders we simply reuse the files logic
if($file['type'] == 'dir') {
- return \OCA\files\lib\Helper::determineIcon($file);
+ return \OCA\Files\Helper::determineIcon($file);
}
$relativePath = substr($file['path'], 6);
@@ -170,6 +170,7 @@ if (isset($path)) {
$tmpl->assign('dir', $getPath);
OCP\Util::addStyle('files', 'files');
+ OCP\Util::addStyle('files', 'upload');
OCP\Util::addScript('files', 'files');
OCP\Util::addScript('files', 'filelist');
OCP\Util::addscript('files', 'keyboardshortcuts');