Removed the unused retrieve_status() utility from the Mia core application.
This commit is contained in:
		| @@ -59,20 +59,6 @@ def get_previous_post(request): | |||||||
|     return status["form"] |     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): | def _store(request, status): | ||||||
|     """Stores the status into the session, and returns the status ID that can |     """Stores the status into the session, and returns the status ID that can | ||||||
|     be used to retrieve the status later with retrieve(). |     be used to retrieve the status later with retrieve(). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user