parent
f9678bb6c3
commit
76382147ae
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
namespace Friendica\Core;
|
namespace Friendica\Core;
|
||||||
/**
|
/**
|
||||||
* @file include/Core/Config.php
|
* @file include/Core/Config.php
|
||||||
*
|
*
|
||||||
* @brief Contains the class with methods for system configuration
|
* @brief Contains the class with methods for system configuration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class Config {
|
||||||
|
|
||||||
global $a;
|
global $a;
|
||||||
|
|
||||||
if(! $instore) {
|
if(! $refresh) {
|
||||||
// Looking if the whole family isn't set
|
// Looking if the whole family isn't set
|
||||||
if(isset($a->config[$family])) {
|
if(isset($a->config[$family])) {
|
||||||
if($a->config[$family] === '!<unset>!') {
|
if($a->config[$family] === '!<unset>!') {
|
||||||
|
|
|
@ -67,7 +67,7 @@ class PConfig {
|
||||||
|
|
||||||
global $a;
|
global $a;
|
||||||
|
|
||||||
if(! $instore) {
|
if(! $refresh) {
|
||||||
// Looking if the whole family isn't set
|
// Looking if the whole family isn't set
|
||||||
if(isset($a->config[$uid][$family])) {
|
if(isset($a->config[$uid][$family])) {
|
||||||
if($a->config[$uid][$family] === '!<unset>!') {
|
if($a->config[$uid][$family] === '!<unset>!') {
|
||||||
|
@ -134,7 +134,7 @@ class PConfig {
|
||||||
dbesc($key),
|
dbesc($key),
|
||||||
dbesc($dbvalue)
|
dbesc($dbvalue)
|
||||||
);
|
);
|
||||||
if($ret)
|
if($ret)
|
||||||
return $value;
|
return $value;
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue