This function was removed when we made the search view always visible; there is no longer a concept of the search view being open or closed.
mentioned in commit 67330ba4