Reduces same db calls

This commit is contained in:
Andreas Kristiansen
2024-05-28 10:04:01 +02:00
parent 2a3404ca44
commit ff25d804aa
3 changed files with 11 additions and 8 deletions

View File

@@ -50,6 +50,7 @@ class Dashboard extends CI_Controller {
$data['current_active'] = $this->stations->find_active();
$data['themesWithoutMode'] = $this->setup_model->checkThemesWithoutMode();
$data['dashboard_map'] = $this->optionslib->get_option('dashboard_map');
$setup_required = false;