jcs
/subtext
/amendments
/460
sysop: Re-cache boards and folders after editing one
jcs made amendment 460 about 1 year ago
--- sysop.c Thu Mar 30 12:30:57 2023
+++ sysop.c Thu Apr 6 13:54:43 2023
@@ -271,6 +271,8 @@ edit_board:
session_logf(s, "Saved changes to board %ld: %s",
new_board->id, new_board->name);
xfree(&new_board);
+
+ db_cache_boards(db);
break;
}
break;
@@ -419,6 +421,8 @@ edit_folder:
session_logf(s, "Saved changes to folder %ld: %s",
new_folder->id, new_folder->name);
xfree(&new_folder);
+
+ db_cache_folders(db);
break;
}
break;