Show
Ignore:
Timestamp:
04/29/09 17:15:53 (3 years ago)
Author:
gbooker
Message:

Better place to handle files added and removed from episodes and movies

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/MetaData/SapphireMObjects/SapphireFileMetaData.m

    r834 r836  
    912912        } 
    913913        if(movie != oldMovie) 
    914         { 
    915914                self.xmlData.movie = movie; 
    916                 [movie clearPredicateCache]; 
    917                 [oldMovie clearPredicateCache]; 
    918                 [[NSNotificationCenter defaultCenter] postNotificationName:FILE_DID_CHANGE_MOVIE_NOTIFICATION object:self]; 
    919         } 
    920915} 
    921916 
     
    930925                [self setFileClassValue:FILE_CLASS_TV_SHOW]; 
    931926                self.importTypeValue |= IMPORT_TYPE_TVSHOW_MASK; 
    932                 [ep clearPredicateCache]; 
    933927        } 
    934928        if(ep != oldEp) 
    935929                self.xmlData.episode = ep; 
    936         [oldEp clearPredicateCache]; 
    937930} 
    938931