Ignore:
Timestamp:
Jan 23, 2010, 10:42:41 AM (10 years ago)
Author:
gav
Message:

Svn move PersonService to AuthService?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/AssignedGroupService.groovy

    r256 r291  
    33    boolean transactional = false
    44
    5     def personService
     5    def authService
    66
    77    def delete(params) {
     
    2222                return fail(code:"default.not.found")
    2323
    24             def taskModification = new TaskModification(person: personService.currentUser,
     24            def taskModification = new TaskModification(person: authService.currentUser,
    2525                                                    taskModificationType: TaskModificationType.get(10),
    2626                                                    task: result.assignedGroupInstance.task)
     
    9595                return fail(code:"default.update.failure")
    9696
    97             def taskModification = new TaskModification(person: personService.currentUser,
     97            def taskModification = new TaskModification(person: authService.currentUser,
    9898                                                    taskModificationType: TaskModificationType.get(10),
    9999                                                    task: result.assignedGroupInstance.task)
     
    155155
    156156            // Record a taskModification for everyone except "system".
    157             if(personService.currentUser.id != 1) {
    158                 def taskModification = new TaskModification(person: personService.currentUser,
     157            if(authService.currentUser.id != 1) {
     158                def taskModification = new TaskModification(person: authService.currentUser,
    159159                                                        taskModificationType: TaskModificationType.get(10),
    160160                                                        task: result.assignedGroupInstance.task)
Note: See TracChangeset for help on using the changeset viewer.