[Xfce4-commits] <moka:master> Move the collection release update call before the announcements.

Jannis Pohlmann noreply at xfce.org
Sun May 23 01:02:01 CEST 2010


Updating branch refs/heads/master
         to b9b55d7715857bc6759c451bd15ce6f05a72ebbb (commit)
       from 77eaf893184edf7bd1904c101e9756c3d49d9dca (commit)

commit b9b55d7715857bc6759c451bd15ce6f05a72ebbb
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun May 23 01:00:56 2010 +0200

    Move the collection release update call before the announcements.

 lib/controllers/collections.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/controllers/collections.rb b/lib/controllers/collections.rb
index 0f31a2e..c4c0317 100755
--- a/lib/controllers/collections.rb
+++ b/lib/controllers/collections.rb
@@ -108,6 +108,8 @@ module Moka
               @release.add_project_release(project_release)
             end
 
+            @release.update
+
             if env['feeds']
               env['feeds'].announce_release(@release, params[:message], authentication_user)
             end
@@ -131,8 +133,6 @@ module Moka
             end
 
             redirect '/'
-
-            @release.update
           end
 
           view :collection_new_release



More information about the Xfce4-commits mailing list