From 049b9371e59c6d32fb722d5792b6cd10e151fb95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 9 Aug 2020 13:27:36 +0800 Subject: [PATCH] Removed the unused retrieve_status() utility from the Mia core application. --- mia_core/status.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mia_core/status.py b/mia_core/status.py index 2f0aea4..0fe77b1 100644 --- a/mia_core/status.py +++ b/mia_core/status.py @@ -59,20 +59,6 @@ def get_previous_post(request): return status["form"] -def retrieve_status(request): - """Retrieves the previously-stored status. - - Args: - request (HttpRequest): The request. - - Returns: - dict: The previously-stored status. - """ - if "s" not in request.GET: - return None - return _retrieve(request, request.GET["s"]) - - def _store(request, status): """Stores the status into the session, and returns the status ID that can be used to retrieve the status later with retrieve().