aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/main.ts
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-07-02 12:13:43 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-07-09 17:13:30 +0200
commit24c01695bb0023fa85dab29cf7170d9596456d5b (patch)
tree1369336c1531024d3b67fa6fff2eafad24b6ad92 /apps/files_sharing/src/main.ts
parent691f570237e26398aa22f40c0efca23141d5583e (diff)
downloadnextcloud-server-24c01695bb0023fa85dab29cf7170d9596456d5b.tar.gz
nextcloud-server-24c01695bb0023fa85dab29cf7170d9596456d5b.zip
test: Adjust Typescript definitions for OCP and OC
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_sharing/src/main.ts')
-rw-r--r--apps/files_sharing/src/main.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_sharing/src/main.ts b/apps/files_sharing/src/main.ts
index aaa07fddc36..3170fbc2a7b 100644
--- a/apps/files_sharing/src/main.ts
+++ b/apps/files_sharing/src/main.ts
@@ -4,10 +4,6 @@
*/
// register default shares types
-if (!window.OC) {
- window.OC = {}
-}
-
Object.assign(window.OC, {
Share: {
SHARE_TYPE_USER: 0,