app/soc/views/models/user_self.py
changeset 605 4a384d412640
parent 590 37735d97b541
child 611 2ec30182e5f1
--- a/app/soc/views/models/user_self.py	Fri Nov 28 23:08:14 2008 +0000
+++ b/app/soc/views/models/user_self.py	Sat Nov 29 00:12:16 2008 +0000
@@ -94,8 +94,6 @@
       original_params: a dict with params for this View
     """
 
-    self._logic = soc.logic.models.user.logic
-
     rights = {}
     rights['unspecified'] = [access.deny]
     rights['any_access'] = [access.allow]
@@ -105,6 +103,7 @@
 
     params = {}
     params['rights'] = rights
+    params['logic'] = soc.logic.models.user.logic
 
     params['name'] = "User"
     params['name_short'] = "User"