X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FSystem.php;h=1db417eb88c4ac20dfcb34bea8563e2bc4b458a9;hb=493314a0677d852d2f8ce46888f4e9283494c1be;hp=d0eb651e938d5524091e643a0b9c302b0b146e31;hpb=2e420a15f8f3e469f9ea3fd298b1283d9806698e;p=friendica.git diff --git a/src/Core/System.php b/src/Core/System.php index d0eb651e93..1db417eb88 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -60,12 +60,12 @@ class System extends BaseObject $previous = ['class' => '', 'function' => '']; // The ignore list contains all functions that are only wrapper functions - $ignore = ['get_config', 'get_pconfig', 'set_config', 'set_pconfig', 'fetch_url', 'probe_url']; + $ignore = ['fetchUrl', 'call_user_func_array']; while ($func = array_pop($trace)) { if (!empty($func['class'])) { - // Don't show multiple calls from the same function (mostly used for "dba" class) - if (($previous['class'] != $func['class']) && ($previous['function'] != 'q')) { + // Don't show multiple calls from the "dba" class to show the essential parts of the callstack + if ((($previous['class'] != $func['class']) || ($func['class'] != 'dba')) && ($previous['function'] != 'q')) { $classparts = explode("\\", $func['class']); $callstack[] = array_pop($classparts).'::'.$func['function']; $previous = $func;