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")) {