[core] Remove last remaining parts of profiling code which was removed in 2006.
This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
* @uses $GLOBALS['userlink'] to close it
|
||||
* @uses $cfg['Server']['user']
|
||||
* @uses $cfg['NavigationBarIconic']
|
||||
* @uses $cfg['DBG']['enable']
|
||||
* @uses $cfg['DBG']['profile']['enable']
|
||||
* @uses $cfg['MaxCharactersInDisplayedSQL']
|
||||
* @uses PMA_isValid()
|
||||
* @uses PMA_setHistory()
|
||||
@@ -202,25 +200,6 @@ if (! $GLOBALS['is_ajax_request'] && file_exists(CUSTOM_FOOTER_FILE)) {
|
||||
require CUSTOM_FOOTER_FILE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generates profiling data if requested
|
||||
*/
|
||||
|
||||
// profiling deactivated due to licensing issues
|
||||
if (! empty($GLOBALS['cfg']['DBG']['php'])
|
||||
&& ! empty($GLOBALS['cfg']['DBG']['profile']['enable'])) {
|
||||
//run the basic setup code first
|
||||
require_once './libraries/dbg/setup.php';
|
||||
//if the setup ran fine, then do the profiling
|
||||
/*
|
||||
if (! empty($GLOBALS['DBG'])) {
|
||||
require_once './libraries/dbg/profiling.php';
|
||||
dbg_dump_profiling_results();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* If we are in an AJAX request, we do not need to generate the closing tags for
|
||||
* body and html.
|
||||
|
Reference in New Issue
Block a user