diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-25 18:34:23 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-10-25 18:34:23 +0200 |
commit | 4cb4d03184634c093575a370b2b90526e3c6030b (patch) | |
tree | bdfc0a72ff59691d6d35d8a83f1a6e160663ad17 /apps/files_sharing | |
parent | 9f5e1648c106893425790385b8741499ae08f2b6 (diff) | |
parent | 30460b52dfef0e216cfb86a0e1e8069de6436eb6 (diff) | |
download | nextcloud-server-4cb4d03184634c093575a370b2b90526e3c6030b.tar.gz nextcloud-server-4cb4d03184634c093575a370b2b90526e3c6030b.zip |
Merge branch 'mastix-master'
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php index a7cf1a78971..ed9ad33417a 100644 --- a/apps/files_sharing/lib/Controller/ShareController.php +++ b/apps/files_sharing/lib/Controller/ShareController.php @@ -406,8 +406,8 @@ class ShareController extends Controller { } // OpenGraph Support: http://ogp.me/ - \OCP\Util::addHeader('meta', ['property' => "og:title", 'content' => $this->defaults->getName() . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')]); - \OCP\Util::addHeader('meta', ['property' => "og:description", 'content' => $this->l10n->t('%s is publicly shared', [$shareTmpl['filename']])]); + \OCP\Util::addHeader('meta', ['property' => "og:title", 'content' => $shareTmpl['filename']]); + \OCP\Util::addHeader('meta', ['property' => "og:description", 'content' => $this->defaults->getName() . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')]); \OCP\Util::addHeader('meta', ['property' => "og:site_name", 'content' => $this->defaults->getName()]); \OCP\Util::addHeader('meta', ['property' => "og:url", 'content' => $shareTmpl['shareUrl']]); \OCP\Util::addHeader('meta', ['property' => "og:type", 'content' => "object"]); |