From 56989f338bc0d5b2ccaa3216cbd2fba8938dcb45 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 8 Oct 2019 14:44:35 -0600 Subject: [PATCH] Remove duplicate method --- api/src/Vfs/Sharing.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/api/src/Vfs/Sharing.php b/api/src/Vfs/Sharing.php index 4cff8392c6..a2f073a89b 100644 --- a/api/src/Vfs/Sharing.php +++ b/api/src/Vfs/Sharing.php @@ -394,18 +394,6 @@ class Sharing extends \EGroupware\Api\Sharing return $actions; } - /** - * Generate link from share or share-token - * - * @param string|array $share share or share-token - * @return string full Url incl. schema and host - */ - public static function share2link($share) - { - if (is_array($share)) $share = $share['share_token']; - - return Api\Framework::getUrl(Api\Framework::link('/share.php')).'/'.$share; - } } if (file_exists(__DIR__.'/../../../filemanager/inc/class.filemanager_ui.inc.php'))