mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
parent
6189f6c8e7
commit
4ca68c7af0
151 changed files with 987 additions and 8742 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
namespace Friendica\Core;
|
||||
|
||||
use Friendica\Database\Dbm;
|
||||
use Friendica\Database\DBM;
|
||||
use dba;
|
||||
|
||||
/**
|
||||
|
@ -99,7 +99,7 @@ class Config {
|
|||
}
|
||||
|
||||
$ret = dba::select('config', array('v'), array('cat' => $family, 'k' => $key), array('limit' => 1));
|
||||
if (Dbm::is_result($ret)) {
|
||||
if (DBM::is_result($ret)) {
|
||||
// manage array value
|
||||
$val = (preg_match("|^a:[0-9]+:{.*}$|s", $ret['v']) ? unserialize($ret['v']) : $ret['v']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue