You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/07/06 19:20:02 UTC

[2/2] allura git commit: [#3593] no delayed flash message about brand new repos, its weird especially when starting a new project

[#3593] no delayed flash message about brand new repos, its weird especially when starting a new project


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/8045d648
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8045d648
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8045d648

Branch: refs/heads/db/3593
Commit: 8045d648de7dbb3ad86d0b586f93acbb572e7132
Parents: 9cbe5cc
Author: Dave Brondsema <da...@brondsema.net>
Authored: Wed Jul 6 15:19:54 2016 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Jul 6 15:19:54 2016 -0400

----------------------------------------------------------------------
 Allura/allura/tasks/repo_tasks.py | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8045d648/Allura/allura/tasks/repo_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tasks/repo_tasks.py b/Allura/allura/tasks/repo_tasks.py
index 7b39a8a..a9a89d7 100644
--- a/Allura/allura/tasks/repo_tasks.py
+++ b/Allura/allura/tasks/repo_tasks.py
@@ -29,12 +29,7 @@ from allura.lib.utils import skip_mod_date
 
 @task
 def init(**kwargs):
-    from allura import model as M
     c.app.repo.init()
-    M.Notification.post_user(
-        c.user, c.app.repo, 'created',
-        text='Repository %s/%s created' % (
-            c.project.shortname, c.app.config.options.mount_point))
 
 
 @task