mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove deprecated removeEmailInviteFromGroup
This commit is contained in:
parent
59688efb56
commit
b716f59442
2 changed files with 0 additions and 11 deletions
|
@ -42,10 +42,6 @@ module.exports = SubscriptionGroupHandler =
|
||||||
removeUserFromGroup: (adminUser_id, userToRemove_id, callback)->
|
removeUserFromGroup: (adminUser_id, userToRemove_id, callback)->
|
||||||
SubscriptionUpdater.removeUserFromGroup adminUser_id, userToRemove_id, callback
|
SubscriptionUpdater.removeUserFromGroup adminUser_id, userToRemove_id, callback
|
||||||
|
|
||||||
removeEmailInviteFromGroup: (adminUser_id, email, callback) ->
|
|
||||||
SubscriptionUpdater.removeEmailInviteFromGroup adminUser_id, email, callback
|
|
||||||
|
|
||||||
|
|
||||||
replaceUserReferencesInGroups: (oldId, newId, callback) ->
|
replaceUserReferencesInGroups: (oldId, newId, callback) ->
|
||||||
Subscription.update {admin_id: oldId}, {admin_id: newId}, (error) ->
|
Subscription.update {admin_id: oldId}, {admin_id: newId}, (error) ->
|
||||||
callback(error) if error?
|
callback(error) if error?
|
||||||
|
|
|
@ -47,13 +47,6 @@ module.exports = SubscriptionUpdater =
|
||||||
return callback(err)
|
return callback(err)
|
||||||
FeaturesUpdater.refreshFeatures user_id, callback
|
FeaturesUpdater.refreshFeatures user_id, callback
|
||||||
|
|
||||||
removeEmailInviteFromGroup: (adminUser_id, email, callback)->
|
|
||||||
Subscription.update {
|
|
||||||
admin_id: adminUser_id
|
|
||||||
}, "$pull": {
|
|
||||||
invited_emails: email
|
|
||||||
}, callback
|
|
||||||
|
|
||||||
deleteSubscription: (subscription_id, callback = (error) ->) ->
|
deleteSubscription: (subscription_id, callback = (error) ->) ->
|
||||||
SubscriptionLocator.getSubscription subscription_id, (err, subscription) ->
|
SubscriptionLocator.getSubscription subscription_id, (err, subscription) ->
|
||||||
return callback(err) if err?
|
return callback(err) if err?
|
||||||
|
|
Loading…
Reference in a new issue