]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1406] use terget repo name instead of staging repo name for audit logging
authorMaria Odea B. Ching <oching@apache.org>
Thu, 29 Jul 2010 10:52:57 +0000 (10:52 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Thu, 29 Jul 2010 10:52:57 +0000 (10:52 +0000)
submitted by Patti Arachchige Eshan Sudharaka

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-MRM-980@980397 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/MergeAction.java

index 542a8ecee4a8a63732650d483df80c53a89f62a0..78a6c4fc65c07790eea2b7cae41c131f094f4809 100644 (file)
@@ -99,7 +99,7 @@ public class MergeAction
 
             for ( ArtifactMetadata metadata : sourceArtifacts )
             {
-                triggerAuditEvent( targetRepoId, metadata.getId(), AuditEvent.MERGING_REPOSITORIES );
+                triggerAuditEvent( repoid, metadata.getId(), AuditEvent.MERGING_REPOSITORIES );
             }
             return SUCCESS;
         }
@@ -121,7 +121,7 @@ public class MergeAction
 
             for ( ArtifactMetadata metadata : sourceArtifacts )
             {
-                triggerAuditEvent( targetRepoId, metadata.getId(), AuditEvent.MERGING_REPOSITORIES );
+                triggerAuditEvent( repoid, metadata.getId(), AuditEvent.MERGING_REPOSITORIES );
             }
             return SUCCESS;