Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/java/fr/paris/lutece/plugins/forms/business/FormHome.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static Form create( Form form )
{
_dao.insert( form, _plugin );
_cache.putInCache( _cache.getFormCacheKey( form.getId( ) ), form );
_cache.removeKey( _cache.getFormListCacheKey( ) );
return form;
}

Expand All @@ -85,6 +86,7 @@ public static Form update( Form form )
{
_dao.store( form, _plugin );
_cache.putInCache( _cache.getFormCacheKey( form.getId( ) ), form );
_cache.removeKey( _cache.getFormListCacheKey( ) );
return form;
}

Expand All @@ -98,6 +100,7 @@ public static void remove( int nKey )
{
_dao.delete( nKey, _plugin );
_cache.removeKey( _cache.getFormCacheKey( nKey ) );
_cache.removeKey( _cache.getFormListCacheKey( ) );
}

/**
Expand Down