diff --git a/modules/imaging_browser/php/viewsession.class.inc b/modules/imaging_browser/php/viewsession.class.inc index 8c80fe49590..f1a2c9f7686 100644 --- a/modules/imaging_browser/php/viewsession.class.inc +++ b/modules/imaging_browser/php/viewsession.class.inc @@ -119,17 +119,6 @@ class ViewSession extends \NDB_Form $this->tpl_data['showFloatJIV'] = true; - $file = $this->_DB->pselectOne( - "SELECT File FROM files f - JOIN session s - ON (s.ID=f.SessionID) - WHERE s.ID=:sid AND FileType='obj'", - ['sid' => $this->sessionID] - ); - if (!empty($file)) { - $this->tpl_data['show3DViewer'] = true; - } - $this->tpl_data['status_options'] = [ '' => ' ', 'Pass' => 'Pass', diff --git a/modules/imaging_browser/templates/form_viewSession.tpl b/modules/imaging_browser/templates/form_viewSession.tpl index a8a40f2557f..6378c94c440 100644 --- a/modules/imaging_browser/templates/form_viewSession.tpl +++ b/modules/imaging_browser/templates/form_viewSession.tpl @@ -1,9 +1,4 @@ -{if $show3DViewer|default} -{*the first opening td already opened in main.tpl *} - -
-{/if}
{$headerTable}