mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Sending opml export on folder delete.
This commit is contained in:
parent
03e9fd5b3c
commit
4020f5fca0
1 changed files with 2 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue