unify permissions (3/3): remove old PERMISSION_X from FileActions & OC.Share

remotes/origin/stable45
Jörn Friedrich Dreyer 12 years ago
parent 3ba27e624f
commit ca8120e9f4
  1. 5
      apps/files/js/fileactions.js
  2. 5
      core/js/share.js

@ -1,9 +1,4 @@
FileActions={
PERMISSION_CREATE:4,
PERMISSION_READ:1,
PERMISSION_UPDATE:2,
PERMISSION_DELETE:8,
PERMISSION_SHARE:16,
actions:{},
defaults:{},
icons:{},

@ -3,11 +3,6 @@ OC.Share={
SHARE_TYPE_GROUP:1,
SHARE_TYPE_LINK:3,
SHARE_TYPE_EMAIL:4,
PERMISSION_CREATE:4,
PERMISSION_READ:1,
PERMISSION_UPDATE:2,
PERMISSION_DELETE:8,
PERMISSION_SHARE:16,
itemShares:[],
statuses:[],
droppedDown:false,

Loading…
Cancel
Save