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/12 14:04:34 UTC

[09/12] 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/62ceed58
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/62ceed58
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/62ceed58

Branch: refs/heads/db/3593
Commit: 62ceed58f17968a12933cb447a52371cbf80fbf2
Parents: 6215ab3
Author: Dave Brondsema <da...@brondsema.net>
Authored: Wed Jul 6 15:19:54 2016 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Tue Jul 12 10:00:18 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/allura/blob/62ceed58/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