inbox name changed

This commit is contained in:
Wojciech Todryk 2011-07-29 20:21:17 +02:00
parent 7967e6d5c8
commit 565654d2a5
2 changed files with 1 additions and 3 deletions

View file

@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base
end end
def selected_folder def selected_folder
session[:selected_folder] ? @selected_folder = session[:selected_folder] : @selected_folder = $defaults['imap_inbox_folder'] session[:selected_folder] ? @selected_folder = session[:selected_folder] : @selected_folder = $defaults['mailbox_inbox']
end end
end end

View file

@ -37,8 +37,6 @@ class Folder < ActiveRecord::Base
parent = "" parent = ""
end end
logger.info "******************* #{name}, #{parent} "
user.folders.create(:name=>name,:parent=>parent,:haschildren=>has_children,:delim=>data.delim,:messages => data.messages,:unseen => data.unseen) user.folders.create(:name=>name,:parent=>parent,:haschildren=>has_children,:delim=>data.delim,:messages => data.messages,:unseen => data.unseen)
end end
end end