inbox name changed
This commit is contained in:
parent
7967e6d5c8
commit
565654d2a5
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue