mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
use orm for settings profiles stuff
This commit is contained in:
@@ -135,12 +135,7 @@ const Helpers = {
|
||||
if (confirm(__("Remove selected profiles? Active and default profiles will not be removed."))) {
|
||||
Notify.progress("Removing selected profiles...", true);
|
||||
|
||||
const query = {
|
||||
op: "pref-prefs", method: "remprofiles",
|
||||
ids: sel_rows.toString()
|
||||
};
|
||||
|
||||
xhr.post("backend.php", query, () => {
|
||||
xhr.post("backend.php", {op: "pref-prefs", method: "remprofiles", "ids[]": sel_rows}, () => {
|
||||
Notify.close();
|
||||
dialog.refresh();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user