diff --git a/libraries/Sql.php b/libraries/Sql.php index dfd008654b..0b243ce7b3 100644 --- a/libraries/Sql.php +++ b/libraries/Sql.php @@ -238,7 +238,6 @@ class Sql public static function getHtmlForProfilingChart($url_query, $db, $profiling_results) { if (! empty($profiling_results)) { - $pma_token = $_SESSION[' PMA_token ']; $url_query = isset($url_query) ? $url_query : URL::getCommon(array('db' => $db)); @@ -287,7 +286,6 @@ class Sql $profiling_table .= << - pma_token = '$pma_token'; url_query = '$url_query'; EOT; diff --git a/templates/table/chart/tbl_chart.phtml b/templates/table/chart/tbl_chart.phtml index b9e14c611d..1a5d69272d 100644 --- a/templates/table/chart/tbl_chart.phtml +++ b/templates/table/chart/tbl_chart.phtml @@ -1,5 +1,4 @@