mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Remove named plugin from classroom
Since we're sourcing from course instances which did not have such a limitation
This commit is contained in:
parent
cddf000276
commit
5c5db0e546
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ ClassroomSchema.statics.generateNewCode = (done) ->
|
|||
tryCode()
|
||||
tryCode()
|
||||
|
||||
ClassroomSchema.plugin plugins.NamedPlugin
|
||||
#ClassroomSchema.plugin plugins.NamedPlugin
|
||||
|
||||
ClassroomSchema.pre('save', (next) ->
|
||||
return next() if @get('code')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue