remove an unnecessary function call
authorDenis Ovsienko <denis@ovsienko.info>
Fri, 2 Nov 2018 12:24:06 +0000 (12:24 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Fri, 2 Nov 2018 13:49:33 +0000 (13:49 +0000)
renderMolecule() does not use any of the data set by markAllSpans().

wwwroot/inc/interface.php

index 4e5ab08..7fb29ab 100644 (file)
@@ -2313,7 +2313,6 @@ function renderMolecule ($mdata, $object_id)
        // Now there are some racks to render.
        foreach ($rackpack as $rackData)
        {
-               markAllSpans ($rackData);
                echo "<table class=molecule cellspacing=0>\n";
                echo "<caption>${rackData['name']}</caption>\n";
                echo "<tr><th width='10%'>&nbsp;</th><th width='20%'>Front</th><th width='50%'>Interior</th><th width='20%'>Back</th></tr>\n";