From a6bf2abaff146d6e3cc25966f8c0f2a33e82cdbb Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 27 Oct 2022 16:47:15 +0200 Subject: [PATCH] Resolve #570 --- plugins/nextcloud/index.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/plugins/nextcloud/index.php b/plugins/nextcloud/index.php index 096a254dd..3c2d0372c 100644 --- a/plugins/nextcloud/index.php +++ b/plugins/nextcloud/index.php @@ -4,8 +4,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin { const NAME = 'Nextcloud', - VERSION = '2.7', - RELEASE = '2022-10-25', + VERSION = '2.8', + RELEASE = '2022-10-27', CATEGORY = 'Integrations', DESCRIPTION = 'Integrate with Nextcloud v20+', REQUIRED = '2.19.0'; @@ -159,12 +159,6 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin public function FilterAppData($bAdmin, &$aResult) : void { if (!$bAdmin && \is_array($aResult)) { - if (isset($aResult['Capa']) && \is_array($aResult['Capa'])) { - $key = \array_search(\RainLoop\Enumerations\Capa::AUTOLOGOUT, $aResult['Capa']); - if (false !== $key) { - unset($aResult['Capa'][$key]); - } - } $sUID = \OC::$server->getUserSession()->getUser()->getUID(); $sWebDAV = \OC::$server->getURLGenerator()->linkTo('', 'remote.php') . '/dav/'; // $sWebDAV = \OCP\Util::linkToRemote('dav');