Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-13 00:14:37 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-13 00:14:37 +0300
commit15d8ee270f048ef5581d9d6f0d2e2e98b4810bf8 (patch)
treeea971902d0505d0d2793da7f5e14bd4ffabc2b7c /db_operations.php
parentdf6ef79e930a1e43ca0d5554e24d0867c0559b05 (diff)
Refactor relation_cleanup functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db_operations.php b/db_operations.php
index c13e0d343e..7ba8b094e1 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -18,6 +18,7 @@ use PhpMyAdmin\Operations;
use PhpMyAdmin\Plugins;
use PhpMyAdmin\Plugins\Export\ExportSql;
use PhpMyAdmin\Relation;
+use PhpMyAdmin\RelationCleanup;
use PhpMyAdmin\Response;
use PhpMyAdmin\Util;
@@ -133,8 +134,7 @@ if (strlen($GLOBALS['db']) > 0
/**
* cleanup pmadb stuff for this db
*/
- include_once 'libraries/relation_cleanup.lib.php';
- PMA_relationsCleanupDatabase($GLOBALS['db']);
+ RelationCleanup::database($GLOBALS['db']);
// if someday the RENAME DATABASE reappears, do not DROP
$local_query = 'DROP DATABASE '