mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Issue 8550: Check for a good table_definition cache value
This commit is contained in:
parent
4991fa4e27
commit
6487daa4a9
3 changed files with 36 additions and 0 deletions
|
@ -741,6 +741,17 @@ class DBA
|
|||
return DI::dba()->processlist();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch a database variable
|
||||
*
|
||||
* @param string $name
|
||||
* @return string content
|
||||
*/
|
||||
public static function getVariable(string $name)
|
||||
{
|
||||
return DI::dba()->getVariable($name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if $array is a filled array with at least one entry.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue