[Jifty-commit] r658 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Mar 4 21:09:51 EST 2006
Author: jesse
Date: Sat Mar 4 21:09:51 2006
New Revision: 658
Modified:
/ (props changed)
jifty/trunk/lib/Jifty/Handler.pm
Log:
r25550 at truegrounds: jesse | 2006-03-04 17:56:20 -0800
* Cache flushing should only happen if your record class supports it
Modified: jifty/trunk/lib/Jifty/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/Handler.pm Sat Mar 4 21:09:51 2006
@@ -176,7 +176,7 @@
# Clean out the cache. the performance impact should be marginal.
# Consistency is improved, too.
Jifty->web->session->unload();
- Jifty::Record->flush_cache;
+ Jifty::Record->flush_cache if Jifty::Record->can('flush_cache');
$self->cgi(undef);
$self->apache(undef);
}
More information about the Jifty-commit
mailing list