From 4bd885a8f80394c03f49db74664b258223ce49f9 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 21 Oct 2009 12:27:15 -0400 Subject: [PATCH] Removed unused notifications. --- friends/management.py | 1 - friends/templates/notification/join_accept/full.txt | 1 - friends/templates/notification/join_accept/notice.html | 2 -- 3 files changed, 4 deletions(-) delete mode 100644 friends/templates/notification/join_accept/full.txt delete mode 100644 friends/templates/notification/join_accept/notice.html diff --git a/friends/management.py b/friends/management.py index 387a69c..6d89c97 100644 --- a/friends/management.py +++ b/friends/management.py @@ -12,7 +12,6 @@ def create_notice_types(app, created_models, verbosity, **kwargs): notification.create_notice_type("friends_accept", _("Acceptance Received"), _("an invitation you sent has been accepted"), default=2) notification.create_notice_type("friends_accept_sent", _("Acceptance Sent"), _("you have accepted an invitation you received"), default=1) notification.create_notice_type("friends_otherconnect", _("Other Connection"), _("one of your friends has a new connection"), default=2) - notification.create_notice_type("join_accept", _("Join Invitation Accepted"), _("an invitation you sent to join this site has been accepted"), default=2) signals.post_syncdb.connect(create_notice_types, sender=notification) else: diff --git a/friends/templates/notification/join_accept/full.txt b/friends/templates/notification/join_accept/full.txt deleted file mode 100644 index 9f2af0d..0000000 --- a/friends/templates/notification/join_accept/full.txt +++ /dev/null @@ -1 +0,0 @@ -{% load i18n %}{% blocktrans %}{{ new_user }} has joined and is now a friend.{% endblocktrans %} \ No newline at end of file diff --git a/friends/templates/notification/join_accept/notice.html b/friends/templates/notification/join_accept/notice.html deleted file mode 100644 index 5cef68b..0000000 --- a/friends/templates/notification/join_accept/notice.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load i18n %}{% url profile_detail username=new_user.username as user_url %} -{% blocktrans %}{{ new_user }} has joined and is now a friend.{% endblocktrans %}