Issue #2353011 by arpitr: Remove deprecated function views_get_all_views.