Fixed typo.

This commit is contained in:
Martin Edenhofer 2016-06-28 22:51:58 +02:00
parent ca141bbb9b
commit 49f328107f
4 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ class App.TicketList extends App.Controller
list = [] list = []
for ticket_id in @ticket_ids for ticket_id in @ticket_ids
ticketItem = App.Ticket.fullLocal( ticket_id ) ticketItem = App.Ticket.fullLocal(ticket_id)
list.push ticketItem list.push ticketItem
@el.html('') @el.html('')
new App.ControllerTable( new App.ControllerTable(

View file

@ -5,7 +5,7 @@ class ActivityStreamController < ApplicationController
# GET /api/v1/activity_stream # GET /api/v1/activity_stream
def show def show
activity_stream = current_user.activity_stream( params[:limit], true ) activity_stream = current_user.activity_stream(params[:limit], true)
# return result # return result
render json: activity_stream render json: activity_stream

View file

@ -165,7 +165,7 @@ returns
max_message_size = Setting.get('postmaster_max_size').to_f max_message_size = Setting.get('postmaster_max_size').to_f
real_message_size = message_meta.attr['RFC822.SIZE'].to_f / 1024 / 1024 real_message_size = message_meta.attr['RFC822.SIZE'].to_f / 1024 / 1024
if real_message_size > max_message_size if real_message_size > max_message_size
info = " - ignore message #{count}/#{count_all} - because message is to big (is:#{real_message_size} MB/max:#{max_message_size} MB)" info = " - ignore message #{count}/#{count_all} - because message is too big (is:#{real_message_size} MB/max:#{max_message_size} MB)"
Rails.logger.info info Rails.logger.info info
notice += "#{info}\n" notice += "#{info}\n"
next next

View file

@ -138,7 +138,7 @@ returns
max_message_size = Setting.get('postmaster_max_size').to_f max_message_size = Setting.get('postmaster_max_size').to_f
real_message_size = mail.size.to_f / 1024 / 1024 real_message_size = mail.size.to_f / 1024 / 1024
if real_message_size > max_message_size if real_message_size > max_message_size
info = " - ignore message #{count}/#{count_all} - because message is to big (is:#{real_message_size} MB/max:#{max_message_size} MB)" info = " - ignore message #{count}/#{count_all} - because message is too big (is:#{real_message_size} MB/max:#{max_message_size} MB)"
Rails.logger.info info Rails.logger.info info
notice += "#{info}\n" notice += "#{info}\n"
next next