             issue.total   = issue.spent_hours or 0
             issue.project = issue.project
             new @Ticket.new(issue)
-        @Analytics.sendEvent 'internal', 'getIssues', 'total_count', data.total_count
         success?(data))
       .error(error or Redmine.NULLFUNC)
     return cancelDefer

  getIssuesOnUser: (success, error) ->
    params =
      assigned_to_id: @auth.userId
    @getIssues(success, error, params)


  ###

  getIssuesOnProject: (projectId, params, success, error) ->
    params.project_id = projectId
    @getIssuesCanceler.resolve() if @getIssuesCanceler
    o = @_bindLog(success, error, "getIssuesOnUser")
    @getIssuesCanceler = @_getIssues(o.success, o.error, params)


  ###
