phpmyadmin/libraries/classes/Controllers/Database/RoutinesController.php
Maurício Meneghini Fauth 1a14b3e4d3 Remove vim modelines
These settings are no longer required as they are guaranteed through
other coding standard tools.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00

44 lines
905 B
PHP

<?php
/**
* Holds the PhpMyAdmin\Controllers\Database\RoutinesController
*
* @package PhpMyAdmin\Controllers\Database
*/
declare(strict_types=1);
namespace PhpMyAdmin\Controllers\Database;
use PhpMyAdmin\Rte\Routines;
use PhpMyAdmin\Util;
/**
* Routines management.
*
* @package PhpMyAdmin\Controllers\Database
*/
class RoutinesController extends AbstractController
{
/**
* @param array $params Request parameters
* @return void
*/
public function index(array $params): void
{
global $errors, $titles;
/**
* Create labels for the list
*/
$titles = Util::buildActionTitles();
/**
* Keep a list of errors that occurred while
* processing an 'Add' or 'Edit' operation.
*/
$errors = [];
$routines = new Routines($this->dbi);
$routines->main($params['type']);
}
}