Skip to content

Commit

Permalink
BugID: 1050 - Modifiche Articolo 18
Browse files Browse the repository at this point in the history
  • Loading branch information
rpagano committed Jan 21, 2013
1 parent 4864634 commit 3ae8340
Showing 1 changed file with 3 additions and 8 deletions.
Expand Up @@ -862,13 +862,6 @@ public boolean isSuperUtenteFunzioniIncarichi(UserContext userContext)throws it.
SQLBuilder sql = null;
SQLBroker broker = null;

try{
if (CNRUserContext.getUser(userContext)==null)
return false;
} catch (Exception e){
return false;
}

UtenteBulk utente = (UtenteBulk)(getHome(userContext, UtenteBulk.class).findByPrimaryKey(new UtenteBulk(CNRUserContext.getUser(userContext))));

if (utente.isSupervisore() && utente.getCd_ruolo_supervisore()!=null) {
Expand Down Expand Up @@ -912,7 +905,9 @@ public boolean isSuperUtenteFunzioniIncarichi(UserContext userContext)throws it.
throw new ComponentException(e);
} catch(java.sql.SQLException e) {
throw handleException(e);
}
} catch (Exception e){
return false;
}
return (false);
}
public boolean isAbilitatoSospensioneCori(UserContext userContext)throws it.cnr.jada.comp.ComponentException{
Expand Down

0 comments on commit 3ae8340

Please sign in to comment.