##// END OF EJS Templates
it's safer to user user_id for IMC
marcink -
r3487:b39cb4d4 beta
parent child Browse files
Show More
@@ -315,7 +315,7 b' class FilesController(BaseRepoController'
315 try:
315 try:
316 self.scm_model.commit_change(repo=c.rhodecode_repo,
316 self.scm_model.commit_change(repo=c.rhodecode_repo,
317 repo_name=repo_name, cs=c.cs,
317 repo_name=repo_name, cs=c.cs,
318 user=self.rhodecode_user,
318 user=self.rhodecode_user.user_id,
319 author=author, message=message,
319 author=author, message=message,
320 content=content, f_path=f_path)
320 content=content, f_path=f_path)
321 h.flash(_('Successfully committed to %s') % f_path,
321 h.flash(_('Successfully committed to %s') % f_path,
@@ -378,7 +378,7 b' class FilesController(BaseRepoController'
378 try:
378 try:
379 self.scm_model.create_node(repo=c.rhodecode_repo,
379 self.scm_model.create_node(repo=c.rhodecode_repo,
380 repo_name=repo_name, cs=c.cs,
380 repo_name=repo_name, cs=c.cs,
381 user=self.rhodecode_user,
381 user=self.rhodecode_user.user_id,
382 author=author, message=message,
382 author=author, message=message,
383 content=content, f_path=node_path)
383 content=content, f_path=node_path)
384 h.flash(_('Successfully committed to %s') % node_path,
384 h.flash(_('Successfully committed to %s') % node_path,
General Comments 0
You need to be logged in to leave comments. Login now