allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [09/12] allura git commit: [#3593] no delayed flash message about brand new repos, its weird especially when starting a new project
Date Tue, 12 Jul 2016 14:04:34 GMT
[#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 <dave@brondsema.net>
Authored: Wed Jul 6 15:19:54 2016 -0400
Committer: Dave Brondsema <dave@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


Mime
View raw message