chiark / gitweb /
server half of noticed.db
[disorder] / server / rescan.c
index 8a29300fde24a16f7d86c9d5f2d73dd750947867..45f5a650178dd615b313d4acabce594f948050ae 100644 (file)
@@ -303,6 +303,11 @@ static void do_all(void (*fn)(const struct collection *c)) {
    */
 }
 
+/** @brief Expire noticed.db */
+static void expire_noticed(void) {
+  error(0, "expire_noticed not implemented yet TODO");
+}
+
 int main(int argc, char **argv) {
   int n;
   struct sigaction sa;
@@ -340,6 +345,8 @@ int main(int argc, char **argv) {
     do_all(rescan_collection);
     /* Check that every track still exists */
     recheck_collection(0);
+    /* Expire noticed.db */
+    expire_noticed();
   }
   else {
     /* Rescan specified collections */