From 39d9f0261aba3da1301d04110fb050b7a074bbee Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 6 Nov 2018 21:25:36 +0100 Subject: Make php5.6 compatible again Signed-off-by: Roeland Jago Douma --- appinfo/info.xml | 2 +- lib/Preview/Office.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 6073b14b..612aced2 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,7 +4,7 @@ Collabora Online Edit office documents directly in your browser. This application can connect to a Collabora Online server (WOPI Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that. - 3.0.3 + 3.0.4 agpl Collabora Productivity based on work of Frank Karlitschek, Victor Dubiniuk diff --git a/lib/Preview/Office.php b/lib/Preview/Office.php index 612820cb..da0582e0 100644 --- a/lib/Preview/Office.php +++ b/lib/Preview/Office.php @@ -41,7 +41,7 @@ abstract class Office extends Provider { $this->config = $config; } - private function getWopiURL(): string { + private function getWopiURL() { return $this->config->getAppValue('richdocuments', 'wopi_url'); } -- cgit v1.2.3