mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +02:00
bugfix: add lost changes due merge
This commit is contained in:
parent
8f0aa0ca5a
commit
4913502922
5 changed files with 30 additions and 11 deletions
|
@ -161,6 +161,15 @@ class Database
|
|||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the profiler for DBA
|
||||
*
|
||||
* @param Profiler $profiler
|
||||
*/
|
||||
public function setProfiler(Profiler $profiler)
|
||||
{
|
||||
$this->profiler = $profiler;
|
||||
}
|
||||
/**
|
||||
* Disconnects the current database connection
|
||||
*/
|
||||
|
@ -323,6 +332,11 @@ class Database
|
|||
}
|
||||
}
|
||||
|
||||
public function isConnected()
|
||||
{
|
||||
return $this->connected;
|
||||
}
|
||||
|
||||
public function connected()
|
||||
{
|
||||
$connected = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue