diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-08 16:37:34 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-23 12:54:25 +0200 |
commit | 496743523729b69e311c170a810182f95568fb7d (patch) | |
tree | 409a8114cbf6291247d0a390c2f0edea03d4747a /apps/files_sharing/lib/cache.php | |
parent | 6b19482f3e1d97aab63c6c870c53a27d5e5a8524 (diff) | |
download | nextcloud-server-496743523729b69e311c170a810182f95568fb7d.tar.gz nextcloud-server-496743523729b69e311c170a810182f95568fb7d.zip |
show "shared by ..." for share mount point
Diffstat (limited to 'apps/files_sharing/lib/cache.php')
-rw-r--r-- | apps/files_sharing/lib/cache.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index 4017b7ad64a..250c1e872e3 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -86,7 +86,9 @@ class Shared_Cache extends Cache { public function get($file) { if (is_string($file)) { if ($cache = $this->getSourceCache($file)) { - return $cache->get($this->files[$file]); + $data = $cache->get($this->files[$file]); + $data['displayname_owner'] = \OC_User::getDisplayName($this->storage->getSharedFrom()); + return $data; } } else { // if we are at the root of the mount point we want to return the |