mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
Fix compilation error after rebase
This commit is contained in:
@@ -40,12 +40,12 @@ import org.dspace.core.ConfigurationManager;
|
|||||||
import org.dspace.core.I18nUtil;
|
import org.dspace.core.I18nUtil;
|
||||||
import org.dspace.core.LogManager;
|
import org.dspace.core.LogManager;
|
||||||
import org.dspace.eperson.Group;
|
import org.dspace.eperson.Group;
|
||||||
import org.dspace.eperson.SubscribeServiceImpl;
|
|
||||||
import org.dspace.eperson.Subscription;
|
import org.dspace.eperson.Subscription;
|
||||||
import org.dspace.eperson.factory.EPersonServiceFactory;
|
import org.dspace.eperson.factory.EPersonServiceFactory;
|
||||||
import org.dspace.eperson.service.EPersonService;
|
import org.dspace.eperson.service.EPersonService;
|
||||||
import org.dspace.eperson.service.GroupService;
|
import org.dspace.eperson.service.GroupService;
|
||||||
import org.dspace.eperson.service.SubscribeService;
|
import org.dspace.eperson.service.SubscribeService;
|
||||||
|
import org.dspace.utils.DSpace;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
|
|
||||||
@@ -490,8 +490,8 @@ public class EditProfile extends AbstractDSpaceTransformer
|
|||||||
*/
|
*/
|
||||||
private static Locale[] getSupportedLocales()
|
private static Locale[] getSupportedLocales()
|
||||||
{
|
{
|
||||||
String ll = ConfigurationManager.getProperty("webui.supported.locales");
|
String[] ll = new DSpace().getConfigurationService().getArrayProperty("webui.supported.locales");
|
||||||
if (ll != null)
|
if(ll != null && ll.length>0)
|
||||||
{
|
{
|
||||||
return I18nUtil.parseLocales(ll);
|
return I18nUtil.parseLocales(ll);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user