diff options
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r-- | core/js/shareitemmodel.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index 292230d26d5..2d4af365114 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -411,12 +411,6 @@ if(!_.isObject(share)) { throw "Unknown Share"; } - if( share.share_type === OC.Share.SHARE_TYPE_REMOTE - && ( permission === OC.PERMISSION_SHARE - || permission === OC.PERMISSION_DELETE)) - { - return false; - } return (share.permissions & permission) === permission; }, |