mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 04:53:16 +00:00
Item counters refactor. Removing unnecessary code.
This commit is contained in:
@@ -265,9 +265,9 @@ public class Community extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
return communityService;
|
||||
}
|
||||
|
||||
public int getAllItems() {
|
||||
public int countArchivedItem() {
|
||||
try {
|
||||
return communityService.getArchivedItems(this);
|
||||
return communityService.getArchivedItems(this);
|
||||
} catch (ItemCountException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user