made notification to members option configurable as default, see Feature #121
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/custom-portal-handler@117032 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
258fe23bb4
commit
b0c8984b26
|
@ -64,13 +64,6 @@ public class OrganizationManagerImpl extends OrganizationsUtil implements Organi
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static OrganizationManagerImpl singleton;
|
private static OrganizationManagerImpl singleton;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @return the singleton
|
|
||||||
*/
|
|
||||||
public static OrganizationManagerImpl get() {
|
|
||||||
return singleton;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param session the ASL session
|
* @param session the ASL session
|
||||||
|
@ -85,8 +78,10 @@ public class OrganizationManagerImpl extends OrganizationsUtil implements Organi
|
||||||
* @param session the session
|
* @param session the session
|
||||||
* @return the singleton
|
* @return the singleton
|
||||||
*/
|
*/
|
||||||
public static OrganizationManagerImpl getInstance(ASLSession session) {
|
public static OrganizationManagerImpl getInstance(ASLSession session) {
|
||||||
return new OrganizationManagerImpl(session);
|
if (singleton == null)
|
||||||
|
singleton = new OrganizationManagerImpl(session);
|
||||||
|
return singleton;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue