diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index d6a142a22..8f6dd23a4 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -653,7 +653,6 @@ class ShixunsController < ApplicationController content = params[:content] author_name = current_user.full_name author_email = current_user.git_mail - Rails.logger.info("111111#######{author_email}") @content = update_file_content content, @repo_path, @path, author_email, author_name, "Edit by browser" end diff --git a/app/models/user.rb b/app/models/user.rb index a41043ceb..89918551e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -157,7 +157,6 @@ class User < ApplicationRecord end def git_mail - Rails.logger.info("111111#######{mail} #222222222####{login}") mail || "#{login}@educoder.net" end