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

Svn move PersonService to AuthService?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/TaskDetailedController.groovy

    r262 r291  
    55class TaskDetailedController extends BaseController {
    66
    7     def personService
     7    def authService
    88    def taskService
    99    def taskSearchService
     
    4545        def taskInstanceTotal
    4646        def filterParams = [:]
    47         def personInstance = personService.currentUser
     47        def personInstance = authService.currentUser
    4848
    4949        // Quick Search:
     
    125125        if(!FilterUtils.isFilterApplied(params)) {
    126126            def taskInstanceList = []
    127             def personInstance = personService.currentUser
     127            def personInstance = authService.currentUser
    128128
    129129            if(params.quickSearch == "searchMyTodays") {
     
    170170        if(!FilterUtils.isFilterApplied(params)) {
    171171            def taskInstanceList = []
    172             def personInstance = personService.currentUser
     172            def personInstance = authService.currentUser
    173173
    174174            if(params.quickSearch == "budgetUnplanned") {
     
    501501
    502502        // Default leadPerson to current user, unless supplied in params.
    503         taskInstance.leadPerson = personService.currentUser
     503        taskInstance.leadPerson = authService.currentUser
    504504        taskInstance.properties = params
    505505        return ['taskInstance': taskInstance]
Note: See TracChangeset for help on using the changeset viewer.