style(legacy): format files (#1946)

This commit is contained in:
Jonas L 2022-07-07 20:01:15 +02:00 committed by GitHub
parent eb19283d96
commit 4d393fa14e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 775 additions and 565 deletions

View file

@ -106,7 +106,7 @@ class ShowbuilderController extends Zend_Controller_Action
$userService = new Application_Service_UserService();
$currentUser = $userService->getCurrentUser();
$previousPageWasLoginScreen = (strpos($previousPage, 'login') !== false)
|| (strpos($previousPage, SAAS_LOGIN_REFERRER) !== false);
|| (strpos($previousPage, SAAS_LOGIN_REFERRER) !== false);
// If current user is Super Admin, and they came from the login page,
// and they have not seen the setup popup before
@ -218,9 +218,11 @@ class ShowbuilderController extends Zend_Controller_Action
[$startsDT, $endsDT] = Application_Common_HTTPHelper::getStartEndFromRequest($request);
$opts = ['myShows' => $my_shows,
$opts = [
'myShows' => $my_shows,
'showFilter' => $show_filter,
'showInstanceFilter' => $show_instance_filter, ];
'showInstanceFilter' => $show_instance_filter,
];
$showBuilder = new Application_Model_ShowBuilder($startsDT, $endsDT, $opts);
$data = $showBuilder->getItems();