Skip to content

Commit df82e96

Browse files
committed
fix share.js
Signed-off-by: GretaD <[email protected]>
1 parent ed2e495 commit df82e96

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

apps/files_sharing/src/models/Share.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -434,28 +434,6 @@ export default class Share {
434434
return this.#share.can_edit === true
435435
}
436436

437-
/**
438-
* Can the current user CREATE this share ?
439-
*
440-
* @returns {boolean}
441-
* @readonly
442-
* @memberof Share
443-
*/
444-
get canCreate() {
445-
return this.#share.can_create === true
446-
}
447-
448-
/**
449-
* Can the current user CREATE this share ?
450-
*
451-
* @returns {boolean}
452-
* @readonly
453-
* @memberof Share
454-
*/
455-
get canCreate() {
456-
return this.#share.can_create === true
457-
}
458-
459437
/**
460438
* Can the current user DELETE this share ?
461439
*

0 commit comments

Comments
 (0)