Hyeonjae Park 2019-01-10
issue: Remove unused method
@46ab0bb1e9ace4ffacc5e1fa934312c5c4a15635
app/controllers/IssueApp.java
--- app/controllers/IssueApp.java
+++ app/controllers/IssueApp.java
@@ -703,8 +703,6 @@
         setMilestone(issueForm, issue);
         issue.dueDate = JodaDateUtil.lastSecondOfDay(issue.dueDate);
 
-
-
         Issue originalIssue = Issue.findByNumber(project, number);
         Set<User> fromWatchers = originalIssue.getWatchers();
 
app/models/NotificationEvent.java
--- app/models/NotificationEvent.java
+++ app/models/NotificationEvent.java
@@ -938,21 +938,6 @@
         return notiEvent;
     }
 
-    public static NotificationEvent afterIssueMoved(Project previous, Issue issue) {
-        webhookRequest(ISSUE_MOVED, issue, previous, false);
-
-        NotificationEvent notiEvent = createFromCurrentUser(issue);
-        notiEvent.title = formatReplyTitle(issue);
-        notiEvent.receivers = getReceivers(issue);
-        notiEvent.eventType = ISSUE_MOVED;
-        notiEvent.oldValue = previous != null ? previous.owner + "/" + previous.name : null;
-        notiEvent.newValue = issue.project.owner + "/" + issue.project.name;
-
-        NotificationEvent.add(notiEvent);
-
-        return notiEvent;
-    }
-
     public static NotificationEvent afterIssueSharerChanged(Issue issue, String sharerLoginId, String action) {
         NotificationEvent notiEvent = createFromCurrentUser(issue);
         notiEvent.title = formatReplyTitle(issue);
Add a comment
List