From 65789e8f012c5746b1156236062029aaaddb9d05 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 18 Sep 2019 09:43:39 +0200 Subject: [PATCH] Revert "Api - Add Sharing->get_path() so we can get the path of the share" With that commit opening an office file in Collabora gives a PHP Fatal error: Cannot make non static method EGroupware\Api\Sharing::get_path() static in class EGroupware\Collabora\Wopi in /var/www/epl-19.1-compat/collabora/src/Wopi.php on line 25 This reverts commit 7153f7fe61df7f4f5f1f7db71fe11111d8d086fa. --- api/src/Sharing.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api/src/Sharing.php b/api/src/Sharing.php index 3ad87956dd..0729f2bf67 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -119,14 +119,6 @@ class Sharing return $this->share['share_root']; } - /** - * Get share path - */ - public function get_path() - { - return $this->share['share_path']; - } - /** * Get share with email addresses */