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:
authorRouslan Placella <rouslan@placella.com>2012-06-05 18:08:09 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-11 17:06:04 +0400
commitae6e50a8a82a70a1bff90cadc200f06819306615 (patch)
tree3ff68a4113de1ce514f73e269a5fa31752401a17 /import.php
parentec4b3d9e4621ce8f9f318ddd7364f67ae46e2854 (diff)
Drop display() from Header and Footer classes. The Response class will do all the rendering.
Diffstat (limited to 'import.php')
-rw-r--r--import.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/import.php b/import.php
index cc8cd5f811..1522c0d048 100644
--- a/import.php
+++ b/import.php
@@ -83,8 +83,6 @@ if (! empty($sql_query)) {
// upload limit has been reached, let's assume the second possibility.
;
if ($_POST == array() && $_GET == array()) {
- $response = PMA_Response::getInstance();
- $response->getHeader()->display();
$message = PMA_Message::error(__('You probably tried to upload too large file. Please refer to %sdocumentation%s for ways to workaround this limit.'));
$message->addParam('[a@./Documentation.html#faq1_16@_blank]');
$message->addParam('[/a]');