Skip to content

Commit 587fdd2

Browse files
mikeSimonsonchr-hertel
authored andcommitted
Removing dead code in the template
1 parent 86cfeec commit 587fdd2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Resources/views/migrationsCollector.html.twig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,9 @@
33
{% block toolbar %}
44
{% set profiler_markup_version = profiler_markup_version|default(1) %}
55

6-
{% set color = collector.availableMigrations == collector.executedMigrations ? 'green' : '' %}
7-
{% set color = collector.executedUnavailableMigrations > 0 ? 'red' : '' %}
8-
{% if color is empty %}
9-
{% set color = 'yellow' %}
10-
{% endif %}
11-
126
{# this is the content displayed as a panel in the toolbar #}
137
{% set icon %}
148
{% if profiler_markup_version == 1 %}
15-
{% set color = collector.availableMigrations == collector.executedMigrations ? 'green' : '' %}
169
{% set color = collector.executedUnavailableMigrations > 0 ? 'red' : '' %}
1710
{% if color is empty %}
1811
{% set color = 'yellow' %}

0 commit comments

Comments
 (0)