]> git.pond.sub.org Git - empserver/blobdiff - src/server/update.c
update server: Move update_running from server/ to update/
[empserver] / src / server / update.c
index d6caf614d4e18efb57dc5184d5c92209af310bcb..195eaa1a3af2742a915e30e50b44942a181ea8ac 100644 (file)
 #include "prototypes.h"
 #include "server.h"
 
-/*
- * Update is running.
- * Can be used to suppress messages, or direct them to bulletins.
- */
-int update_running;
-
 static time_t update_schedule_anchor;
 static int update_wanted;
 
@@ -205,9 +199,7 @@ update_run(void)
            return;
        }
     }
-    update_running = 1;
     update_main();
-    update_running = 0;
     empth_rwlock_unlock(update_lock);
 }