diff options
Diffstat (limited to 'apps/files/src/utils/davUtils.js')
-rw-r--r-- | apps/files/src/utils/davUtils.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/files/src/utils/davUtils.js b/apps/files/src/utils/davUtils.js deleted file mode 100644 index 8c28c25c044..00000000000 --- a/apps/files/src/utils/davUtils.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors - * SPDX-License-Identifier: AGPL-3.0-or-later - */ - -import { getCurrentUser } from '@nextcloud/auth' - -export const isPublic = function() { - return !getCurrentUser() -} - -export const getToken = function() { - return document.getElementById('sharingToken') && document.getElementById('sharingToken').value -} |