mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Cleanup utils::GetSessionLog() (#172)
This commit is contained in:
@@ -946,16 +946,11 @@ class utils
|
||||
|
||||
/**
|
||||
* Get the _SESSION variable for logging purpose
|
||||
* @return false|string
|
||||
* @return string
|
||||
*/
|
||||
public static function GetSessionLog()
|
||||
{
|
||||
ob_start();
|
||||
print_r($_SESSION);
|
||||
$sSessionLog = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
return $sSessionLog;
|
||||
return print_r($_SESSION, true);
|
||||
}
|
||||
|
||||
static function DebugBacktrace($iLimit = 5)
|
||||
|
||||
Reference in New Issue
Block a user