Permalink
Browse files

don't serialize cache service

  • Loading branch information...
1 parent fbbf37b commit c659a31b61c6b8b5c7128a22880396f50bffe244 @graemerocher graemerocher committed Sep 22, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 grails.org/grails-app/domain/org/grails/wiki/WikiPage.groovy
@@ -5,7 +5,7 @@ import org.grails.content.Version
class WikiPage extends Content {
- def cacheService
+ transient cacheService
Version createVersion() {
def verObject = new Version(number:version, current:this)
@@ -24,7 +24,7 @@ class WikiPage extends Content {
}
def onAddComment = { comment ->
- cacheService.flushWikiCache()
+ cacheService?.flushWikiCache()
}
String toString() {

0 comments on commit c659a31

Please sign in to comment.