remove unused toolshed_updater mako function

This commit is contained in:
John Chilton
2020-01-07 16:42:23 -05:00
parent b65a9b0e72
commit e64bdd20e7
2 changed files with 0 additions and 40 deletions
@@ -376,26 +376,6 @@
</script>
</%def>
<%def name="tool_dependency_installation_updater()">
<%
can_update = False
if query.count():
# Get the first tool dependency to get to the tool shed repository.
tool_dependency = query[0]
tool_shed_repository = tool_dependency.tool_shed_repository
can_update = tool_shed_repository.tool_dependencies_being_installed or tool_shed_repository.missing_tool_dependencies
%>
%if can_update:
<script type="text/javascript">
config.addInitialization(function() {
console.log("common.mako, tool_dependency_installation_updater");
// Tool dependency installation status updater
tool_dependency_status_updater( [${ ",".join( [ '{"id" : "%s", "status" : "%s"}' % ( trans.security.encode_id( td.id ), td.status ) for td in query ] ) } ] );
});
</script>
%endif
</%def>
<%def name="repository_installation_updater()">
<%
can_update = False
@@ -376,26 +376,6 @@
</script>
</%def>
<%def name="tool_dependency_installation_updater()">
<%
can_update = False
if query.count():
# Get the first tool dependency to get to the tool shed repository.
tool_dependency = query[0]
tool_shed_repository = tool_dependency.tool_shed_repository
can_update = tool_shed_repository.tool_dependencies_being_installed or tool_shed_repository.missing_tool_dependencies
%>
%if can_update:
<script type="text/javascript">
config.addInitialization(function() {
console.log("common.mako, tool_dependency_installation_updater");
// Tool dependency installation status updater
tool_dependency_status_updater( [${ ",".join( [ '{"id" : "%s", "status" : "%s"}' % ( trans.security.encode_id( td.id ), td.status ) for td in query ] ) } ] );
});
</script>
%endif
</%def>
<%def name="repository_installation_updater()">
<%
can_update = False