mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
(Alexey Maslov) OAI-PMH + OAI-ORE Harvesting Patch
http://jira.dspace.org/jira/browse/DS-289 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4228 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -258,9 +258,9 @@ public class Item extends DSpaceObject
|
||||
|
||||
// Call update to give the item a last modified date. OK this isn't
|
||||
// amazingly efficient but creates don't happen that often.
|
||||
context.setIgnoreAuthorization(true);
|
||||
context.turnOffAuthorisationSystem();
|
||||
i.update();
|
||||
context.setIgnoreAuthorization(false);
|
||||
context.restoreAuthSystemState();
|
||||
|
||||
context.addEvent(new Event(Event.CREATE, Constants.ITEM, i.getID(), null));
|
||||
|
||||
|
Reference in New Issue
Block a user