From 15e22751fbd084bd9d4e8eb837888e4050a8e09d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 29 Dec 2013 08:05:17 -0500 Subject: [PATCH] Clarify function name Signed-off-by: Marc Delisle --- export.php | 2 +- libraries/export.lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/export.php b/export.php index a53dd7d2c9..36639364c2 100644 --- a/export.php +++ b/export.php @@ -241,7 +241,7 @@ if (!defined('TESTSUITE')) { if (! empty($cfg['MemoryLimit'])) { @ini_set('memory_limit', $cfg['MemoryLimit']); } - register_shutdown_function('PMA_shutdown'); + register_shutdown_function('PMA_shutdownDuringExport'); // Start with empty buffer $dump_buffer = ''; $dump_buffer_len = 0; diff --git a/libraries/export.lib.php b/libraries/export.lib.php index 7dff107e89..0d01f6163f 100644 --- a/libraries/export.lib.php +++ b/libraries/export.lib.php @@ -16,7 +16,7 @@ if (! defined('PHPMYADMIN')) { * * @return void */ -function PMA_shutdown() +function PMA_shutdownDuringExport() { $a = error_get_last(); if ($a != null && strpos($a['message'], "execution time")) {