Skip to content
Snippets Groups Projects
Commit b79f3101 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Update/sync of develop before branching

parent 692cf10b
No related branches found
No related tags found
1 merge request!17Develop
......@@ -215,6 +215,13 @@ public class UserBean {
user = em.find(VipsLogicUser.class, user.getUserId());
// Remove all notification subscriptions
SessionControllerGetter.getMessagingBean().deleteAllNotificationSubscriptions(user);
// TODO: Move these objects from user to be deleted to the organization's archive user
// * All observations
// * All messages
// * All POIs
// * All non-private forecast configurations
//
// TODO: Delete all of the user's private forecast configurations and results
em.remove(user);
}
......
......@@ -39,7 +39,6 @@ import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.FetchType;
import org.hibernate.annotations.Type;
/**
* @copyright 2013 <a href="http://www.nibio.no/">NIBIO</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment