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-12 23:36:39 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-12 23:36:39 +0300
commit700e081833dd7cd1b1669412ddf1c2e135ade0a1 (patch)
treeb5931540ed3bc3a12f3994389ec982826f44644e /schema_export.php
parent1354b45b128051c0c54a26f4f21cb7485f958350 (diff)
Refactor plugin_interface functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'schema_export.php')
-rw-r--r--schema_export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema_export.php b/schema_export.php
index 040768dd2b..936cc0c263 100644
--- a/schema_export.php
+++ b/schema_export.php
@@ -7,6 +7,7 @@
*/
use PhpMyAdmin\Core;
+use PhpMyAdmin\Plugins;
use PhpMyAdmin\Plugins\SchemaPlugin;
use PhpMyAdmin\Relation;
@@ -22,7 +23,6 @@ require_once 'libraries/common.inc.php';
$cfgRelation = Relation::getRelationsParam();
require_once 'libraries/pmd_common.php';
-require_once 'libraries/plugin_interface.lib.php';
if (! isset($_REQUEST['export_type'])) {
PhpMyAdmin\Util::checkParameters(array('export_type'));
@@ -56,7 +56,7 @@ function PMA_processExportSchema($export_type)
// get the specific plugin
/* @var $export_plugin SchemaPlugin */
- $export_plugin = PMA_getPlugin(
+ $export_plugin = Plugins::getPlugin(
"schema",
$export_type,
'libraries/classes/Plugins/Schema/'