mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
Relocate class files from /include to /src/
dbm, Diaspora, dfrn, and NotificationsManager moved to namespace. Includes and references in files updated.
This commit is contained in:
parent
2a814623d8
commit
6189f6c8e7
31 changed files with 7965 additions and 67 deletions
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
namespace Friendica\Core;
|
||||
|
||||
use Friendica\Database\Dbm;
|
||||
use dba;
|
||||
use dbm;
|
||||
|
||||
/**
|
||||
* @file include/Core/Config.php
|
||||
|
@ -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