You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/05/12 20:23:03 UTC

svn commit: r405820 - /incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java

Author: snoopdave
Date: Fri May 12 11:23:00 2006
New Revision: 405820

URL: http://svn.apache.org/viewcvs?rev=405820&view=rev
Log:
cache refresh on delete

Modified:
    incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java

Modified: incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java?rev=405820&r1=405819&r2=405820&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/webservices/atomprotocol/RollerAtomHandler.java Fri May 12 11:23:00 2006
@@ -382,6 +382,8 @@
                 WeblogManager mgr = mRoller.getWeblogManager();
                 mgr.removeWeblogEntry(rollerEntry);
                 mRoller.flush();
+                CacheManager.invalidate(rollerEntry.getWebsite());
+                mRoller.getIndexManager().removeEntryIndexOperation(rollerEntry);
                 return;
             }
             throw new Exception("ERROR not authorized to delete entry");