##// 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 315 try:
316 316 self.scm_model.commit_change(repo=c.rhodecode_repo,
317 317 repo_name=repo_name, cs=c.cs,
318 user=self.rhodecode_user,
318 user=self.rhodecode_user.user_id,
319 319 author=author, message=message,
320 320 content=content, f_path=f_path)
321 321 h.flash(_('Successfully committed to %s') % f_path,
@@ -378,7 +378,7 b' class FilesController(BaseRepoController'
378 378 try:
379 379 self.scm_model.create_node(repo=c.rhodecode_repo,
380 380 repo_name=repo_name, cs=c.cs,
381 user=self.rhodecode_user,
381 user=self.rhodecode_user.user_id,
382 382 author=author, message=message,
383 383 content=content, f_path=node_path)
384 384 h.flash(_('Successfully committed to %s') % node_path,
General Comments 0
You need to be logged in to leave comments. Login now