Remove unusued function.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie21e4164c268d5dfac78e588630f8d30682e591d
pull/5478/head
Gökay Şatır 2022-11-15 09:53:06 +03:00 committed by Gökay ŞATIR
parent 12f8fb200f
commit fa14b9aecf
1 changed files with 0 additions and 5 deletions

View File

@ -245,11 +245,6 @@ L.Map.include({
this.dragging.enable();
},
// If document can be edited or not (i.e: PDF can not be edited)
isDocEditable: function() {
return this.options.permission === 'edit';
},
// Can user make changes to the document or not
// i.e: user can not make changes(even can not add comments) is document is shared as read only
canUserWrite: function() {