From 5dd2e8503533fc2a0ccb9cc80bf49cb01991a6f9 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 23 Aug 2022 22:12:44 +0000 Subject: [PATCH] app.py: Remove calls to not yet commited function --- server/app.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/app.py b/server/app.py index bb18f2b..b30e574 100644 --- a/server/app.py +++ b/server/app.py @@ -456,7 +456,6 @@ def force_refresh_collection(collection_id: int): if coll is None: return "404 Not Found", 404 collection_update(coll, check_cache_expired=False) - update_element_lookup_cache([coll.id]) return redirect_back_or_okay() @@ -635,13 +634,6 @@ def api_collection_delete(collection_id: int): "error": f"Object not found", }, 404 collection.delete() - update_element_lookup_cache([collection_id]) - return redirect_back_or_okay() - - -@flask_app.route("/api/element_lookup_cache/update", methods=["POST"]) -def api_element_lookup_cache_rebuild(): - update_element_lookup_cache() return redirect_back_or_okay()