Ignore:
Timestamp:
Nov 25, 2010, 12:08:12 PM (9 years ago)
Author:
gav
Message:

Domain change: as per ticket #97 - Drop the entire Manufacturer domain concept.

File:
1 edited

Legend:

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

    r402 r722  
    7474        def ownerInstance
    7575
    76         if(params.manufacturer?.id)
    77             return ownerInstance = Manufacturer.get(params.manufacturer.id)
    7876        if(params.supplier?.id)
    7977            return ownerInstance = Supplier.get(params.supplier.id)
     
    8987        def ownerInstance
    9088
    91         if(object.manufacturer)
    92             return ownerInstance = object.manufacturer
    9389        if(object.supplier)
    9490            return ownerInstance = object.supplier
Note: See TracChangeset for help on using the changeset viewer.