mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 19:08:50 +03:00
Debug Nextcloud 34 #2055
This commit is contained in:
parent
bf90b32b51
commit
a87aeb02c8
4 changed files with 61 additions and 54 deletions
|
|
@ -6,11 +6,11 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
const
|
||||
NAME = 'Nextcloud',
|
||||
VERSION = '2.38.1',
|
||||
RELEASE = '2024-10-08',
|
||||
VERSION = '3.0.0',
|
||||
RELEASE = '2026-11-03',
|
||||
CATEGORY = 'Integrations',
|
||||
DESCRIPTION = 'Integrate with Nextcloud v20+',
|
||||
REQUIRED = '2.38.0';
|
||||
DESCRIPTION = 'Integrate with Nextcloud v25+',
|
||||
REQUIRED = '3.0.0';
|
||||
|
||||
public function Init() : void
|
||||
{
|
||||
|
|
@ -217,7 +217,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
if (!$bAdmin && \is_array($aResult)) {
|
||||
$ocUser = SnappyMailHelper::getUser();
|
||||
$sUID = $ocUser->getUID();
|
||||
$oUrlGen = \OC::$server->getURLGenerator();
|
||||
$oUrlGen = SnappyMailHelper::getURLGenerator();
|
||||
$sWebDAV = $oUrlGen->getAbsoluteURL($oUrlGen->linkTo('', 'remote.php') . '/dav');
|
||||
// $sWebDAV = \OCP\Util::linkToRemote('dav');
|
||||
$aResult['Nextcloud'] = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue