do not clear cache on repository modification only on deletion

This commit is contained in:
Sebastian Sdorra
2012-06-26 08:49:57 +02:00
parent d983cbf88b
commit 517ddc29a0

View File

@@ -343,7 +343,7 @@ public final class RepositoryServiceFactory
@Override
public void onEvent(Repository repository, HandlerEvent event)
{
if ((event == HandlerEvent.MODIFY) || (event == HandlerEvent.DELETE))
if (event == HandlerEvent.DELETE)
{
clearCaches(repository.getId());
}