Sending opml export on folder delete.

This commit is contained in:
Samuel Clay 2014-09-19 17:00:23 -07:00
parent 03e9fd5b3c
commit 4020f5fca0

View file

@ -1658,6 +1658,8 @@ def delete_folder(request):
folder_to_delete = request.POST.get('folder_name') or request.POST.get('folder_to_delete')
in_folder = request.POST.get('in_folder', None)
feed_ids_in_folder = [int(f) for f in request.REQUEST.getlist('feed_id') if f]
request.user.profile.send_opml_export_email()
# Works piss poor with duplicate folder titles, if they are both in the same folder.
# Deletes all, but only in the same folder parent. But nobody should be doing that, right?