|
@@ -803,7 +803,8 @@ public class UserUtils {
|
|
*/
|
|
*/
|
|
public static List<Office> getOfficeList(){
|
|
public static List<Office> getOfficeList(){
|
|
@SuppressWarnings("unchecked")
|
|
@SuppressWarnings("unchecked")
|
|
- List<Office> officeList = (List<Office>)getCache(CACHE_OFFICE_LIST);
|
|
|
|
|
|
+ //List<Office> officeList = (List<Office>)getCache(CACHE_OFFICE_LIST);
|
|
|
|
+ List<Office> officeList = null;
|
|
if (officeList == null){
|
|
if (officeList == null){
|
|
User user = get(getUser().getId());
|
|
User user = get(getUser().getId());
|
|
if (user.isAdmin()){
|
|
if (user.isAdmin()){
|