Re-enable hiding the first run popup after first run

This commit is contained in:
Albert Santoni 2015-08-05 15:00:28 -04:00
parent 1d39117b21
commit 1093e7085a
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class ShowbuilderController extends Zend_Controller_Action
// If current user is Super Admin, and they came from the login page,
// and they have not seen the setup popup before
if ($currentUser->isSuperAdmin() && $previousPageWasLoginScreen /*&& empty($setupComplete)*/) {
if ($currentUser->isSuperAdmin() && $previousPageWasLoginScreen && empty($setupComplete)) {
$lang_tz_popup_form = new Application_Form_SetupLanguageTimezone();
$this->view->lang_tz_popup_form = $lang_tz_popup_form;
$this->view->headScript()->appendFile($baseUrl.'js/airtime/nowplaying/lang-timezone-setup.js?'.$CC_CONFIG['airtime_version'],'text/javascript');