mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Some added logging
This commit is contained in:
parent
dc439c6e50
commit
69f1deb166
2 changed files with 8 additions and 0 deletions
|
@ -138,6 +138,11 @@ class dba {
|
|||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Analyze a database query and log this if some conditions are met.
|
||||
*
|
||||
* @param string $query The database query that will be analyzed
|
||||
*/
|
||||
public function log_index($query) {
|
||||
$a = get_app();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue