Skip to content

Commit c2ae2ae

Browse files
committed
Integrated chk_rel.php with PMA_Response class
1 parent a576129 commit c2ae2ae

2 files changed

Lines changed: 205 additions & 235 deletions

File tree

chk_rel.php

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,11 @@
66
* @package PhpMyAdmin
77
*/
88

9-
/**
10-
* Gets some core libraries
11-
*/
129
require_once 'libraries/common.inc.php';
13-
PMA_Header::getInstance()->display();
14-
10+
$response = PMA_Response::getInstance();
11+
$response->addHTML(
12+
PMA_getRelationsParamDiagnostic(PMA_getRelationsParam())
13+
);
14+
$response->response();
1515

16-
/**
17-
* Gets the relation settings
18-
*/
19-
$cfgRelation = PMA_getRelationsParam(true);
20-
21-
22-
/**
23-
* Displays the footer
24-
*/
25-
require 'libraries/footer.inc.php';
2616
?>

0 commit comments

Comments
 (0)