mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Rename DBM method calls to DBA method calls
This commit is contained in:
parent
8ddb94ef06
commit
0ec44f3e8a
153 changed files with 813 additions and 918 deletions
|
@ -5,7 +5,6 @@ namespace Friendica\Core\Session;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Database\DBM;
|
||||
use SessionHandlerInterface;
|
||||
|
||||
require_once 'boot.php';
|
||||
|
@ -31,7 +30,7 @@ class DatabaseSessionHandler extends BaseObject implements SessionHandlerInterfa
|
|||
}
|
||||
|
||||
$session = DBA::selectFirst('session', ['data'], ['sid' => $session_id]);
|
||||
if (DBM::is_result($session)) {
|
||||
if (DBA::is_result($session)) {
|
||||
Session::$exists = true;
|
||||
return $session['data'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue