diff -r 1f64d7a4d82d -r a7ccde9d9eed app/soc/views/user/profile.py --- a/app/soc/views/user/profile.py Fri Sep 12 10:56:21 2008 +0000 +++ b/app/soc/views/user/profile.py Fri Sep 12 16:33:04 2008 +0000 @@ -55,8 +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.doesLinkNameBelongToId(link_name): - # link_name exists in Datastore but doesn't belong to current user + elif not id_user.checkLinkNameForId(link_name): raise forms.ValidationError("This link name is already in use.") return link_name