mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Draft code to share Nextcloud files as links #569
This commit is contained in:
parent
14bd9720e9
commit
6c276b9b03
3 changed files with 144 additions and 52 deletions
|
|
@ -160,7 +160,7 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
{
|
||||
if (!$bAdmin && \is_array($aResult)) {
|
||||
$sUID = \OC::$server->getUserSession()->getUser()->getUID();
|
||||
$sWebDAV = \OC::$server->getURLGenerator()->linkTo('', 'remote.php') . '/dav/';
|
||||
$sWebDAV = \OC::$server->getURLGenerator()->linkTo('', 'remote.php') . '/dav';
|
||||
// $sWebDAV = \OCP\Util::linkToRemote('dav');
|
||||
$aResult['Nextcloud'] = [
|
||||
'UID' => $sUID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue