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 2013/05/17 00:30:29 UTC

[38/50] [abbrv] git commit: [#5563] ticket:340 removed controller

[#5563]  ticket:340 removed controller


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

Branch: refs/heads/db/6208
Commit: 5f41cdae2a72d9bcd486e162de4a010224e8ae14
Parents: e20e878
Author: Yuriy Arhipov <yu...@yandex.ru>
Authored: Wed May 15 09:39:07 2013 +0400
Committer: Yuriy Arhipov <yu...@yandex.ru>
Committed: Wed May 15 09:39:27 2013 +0400

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5f41cdae/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 1c5891f..21def31 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -733,16 +733,6 @@ class SubscriptionsController(BaseController):
     @h.vardec
     @expose()
     @require_post()
-    def update(self,
-               preferences=None,
-               **kw):
-        if 'email_format' in preferences:
-            c.user.set_pref('email_format', preferences['email_format'])
-        redirect('.')
-
-    @h.vardec
-    @expose()
-    @require_post()
     @validate(F.subscription_form, error_handler=index)
     def update_subscriptions(self, subscriptions=None, email_format=None, **kw):
         for s in subscriptions: