Skip to content

Commit

Permalink
Move operations controllers to Operations namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Nov 26, 2023
1 parent 638c7d3 commit c6bdede
Show file tree
Hide file tree
Showing 10 changed files with 596 additions and 593 deletions.
17 changes: 9 additions & 8 deletions app/services_controllers.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use PhpMyAdmin\Controllers\LogoutController;
use PhpMyAdmin\Controllers\NavigationController;
use PhpMyAdmin\Controllers\Normalization;
use PhpMyAdmin\Controllers\Operations;
use PhpMyAdmin\Controllers\PhpInfoController;
use PhpMyAdmin\Controllers\Preferences;
use PhpMyAdmin\Controllers\RecentTablesListController;
Expand Down Expand Up @@ -170,8 +171,8 @@
'class' => Database\MultiTableQueryController::class,
'arguments' => ['$response' => '@response', '$template' => '@template', '$dbi' => '@dbi'],
],
Database\Operations\CollationController::class => [
'class' => Database\Operations\CollationController::class,
Operations\Database\CollationController::class => [
'class' => Operations\Database\CollationController::class,
'arguments' => [
'$response' => '@response',
'$template' => '@template',
Expand All @@ -180,8 +181,8 @@
'$dbTableExists' => '@' . DbTableExists::class,
],
],
Database\OperationsController::class => [
'class' => Database\OperationsController::class,
Operations\DatabaseController::class => [
'class' => Operations\DatabaseController::class,
'arguments' => [
'$response' => '@response',
'$template' => '@template',
Expand Down Expand Up @@ -1309,8 +1310,8 @@
'$maintenance' => '@partitioning_maintenance',
],
],
Table\OperationsController::class => [
'class' => Table\OperationsController::class,
Operations\TableController::class => [
'class' => Operations\TableController::class,
'arguments' => [
'$response' => '@response',
'$template' => '@template',
Expand Down Expand Up @@ -1603,8 +1604,8 @@
'$dbTableExists' => '@' . DbTableExists::class,
],
],
View\OperationsController::class => [
'class' => View\OperationsController::class,
Operations\ViewController::class => [
'class' => Operations\ViewController::class,
'arguments' => [
'$response' => '@response',
'$template' => '@template',
Expand Down
Loading

0 comments on commit c6bdede

Please sign in to comment.