mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
[APPS-3129] Reverting changes MNT-24137
This commit is contained in:
@@ -962,7 +962,7 @@ public class AuditComponentImpl implements AuditComponent
|
|||||||
public int getAuditEntriesCountByApp(String applicationName)
|
public int getAuditEntriesCountByApp(String applicationName)
|
||||||
{
|
{
|
||||||
// Get the id for the application
|
// Get the id for the application
|
||||||
AuditApplication app = auditModelRegistry.getAuditApplicationByKey(applicationName);
|
AuditApplication app = auditModelRegistry.getAuditApplicationByName(applicationName);
|
||||||
Long applicationId = app.getApplicationId();
|
Long applicationId = app.getApplicationId();
|
||||||
if (applicationId == null)
|
if (applicationId == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user