mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Support for message delivering via uri-id
This commit is contained in:
parent
07c07ec499
commit
6e1483545e
10 changed files with 95 additions and 56 deletions
|
@ -53,6 +53,12 @@ class System
|
|||
|
||||
while ($func = array_pop($trace)) {
|
||||
if (!empty($func['class'])) {
|
||||
if (in_array($previous['function'], ['insert', 'fetch', 'toArray', 'exists', 'count', 'selectFirst', 'selectToArray',
|
||||
'select', 'update', 'delete', 'selectFirstForUser', 'selectForUser'])
|
||||
&& (substr($previous['class'], 0, 15) === 'Friendica\Model')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Don't show multiple calls from the Database classes to show the essential parts of the callstack
|
||||
$func['database'] = in_array($func['class'], ['Friendica\Database\DBA', 'Friendica\Database\Database']);
|
||||
if (!$previous['database'] || !$func['database']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue