app/soc/views/user/profile.py
changeset 136 a95f511bfcf8
parent 135 a7ccde9d9eed
child 137 0f572149449d
--- a/app/soc/views/user/profile.py	Fri Sep 12 16:33:04 2008 +0000
+++ b/app/soc/views/user/profile.py	Fri Sep 12 19:01:44 2008 +0000
@@ -55,7 +55,7 @@
     link_name = self.cleaned_data.get('link_name')
     if not id_user.isLinkNameFormatValid(link_name):
       raise forms.ValidationError("This link name is in wrong format.")
-    elif not id_user.checkLinkNameForId(link_name):
+    elif not id_user.isLinkNameAvailableForId(link_name):
       raise forms.ValidationError("This link name is already in use.")
     return link_name