]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/System.php
Cleanups: isResult() more used, readability improved (#5608)
[friendica.git] / src / Core / System.php
index 4e2b63f044bbb2ae30ee374924671bf37c3f040e..88b89cda27ac60189375854ecca2a103439ff4d2 100644 (file)
@@ -65,7 +65,7 @@ class System extends BaseObject
                while ($func = array_pop($trace)) {
                        if (!empty($func['class'])) {
                                // 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')) {
+                               if ((($previous['class'] != $func['class']) || ($func['class'] != 'Friendica\Database\DBA')) && ($previous['function'] != 'q')) {
                                        $classparts = explode("\\", $func['class']);
                                        $callstack[] = array_pop($classparts).'::'.$func['function'];
                                        $previous = $func;