<?php
/**
 * Database controller. Search and select database connections
 */

namespace Dboss\Controller;

class DatabaseController extends DbossActionController
{
    public $require_login = true;
    public $require_connection = false;

    /**
     *
     **/
    public function indexAction()
    {
        $this->view_model->setVariable(
            'connection_info',
            $this->user->getConnectionInfo()
        );

        return $this->view_model;
    }
}

<?php
/**
 * Database controller. Search and select database connections
 */

namespace Dboss\Controller;

class DatabaseController extends DbossActionController
{
    public $require_login = true;
    public $require_connection = false;

    /**
     *
     **/
    public function indexAction()
    {
        $this->view_model->setVariable(
            'connection_info',
            $this->user->getConnectionInfo()
        );

        foreach ($this->user->getFailedConnections() as $display_name) {
            $this->flashMessenger()
                    ->setNamespace('error')
                    ->addMessage("Failed to connect to: " . $display_name);
        }

        return $this->view_model;
    }
}

Add error message Ticket: Purpose of Change: Description of Change: Tags:
Add error message
Ticket:
Purpose of Change:
Description of Change:
Tags:

Conflicts Resolved:
