aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-01-27 17:36:56 +0100
committerMario <mario@mariovavti.com>2019-01-27 17:36:56 +0100
commit17d9e30be53893a6651a3d17435936c548df6445 (patch)
tree827b9795db39b081985565bcbb8cf08c9366c674
parent5c2f7a744a544a228b809da5e788795ba89ecb08 (diff)
parent37b7dc8e7c10870021c835168a441788f0fcb351 (diff)
downloadvolse-hubzilla-17d9e30be53893a6651a3d17435936c548df6445.tar.gz
volse-hubzilla-17d9e30be53893a6651a3d17435936c548df6445.tar.bz2
volse-hubzilla-17d9e30be53893a6651a3d17435936c548df6445.zip
Merge branch 'patch-20190125a' into 'dev'
Remove extraneous sync logic See merge request hubzilla/core!1490
-rw-r--r--Zotlabs/Lib/PConfig.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/Zotlabs/Lib/PConfig.php b/Zotlabs/Lib/PConfig.php
index 95f07d580..c08c11e75 100644
--- a/Zotlabs/Lib/PConfig.php
+++ b/Zotlabs/Lib/PConfig.php
@@ -275,23 +275,13 @@ class PConfig {
dbesc($key)
);
+ // Synchronize delete with clones.
+
if ($family != 'hz_delpconfig') {
$hash = hash('sha256',$family.':'.$key);
set_pconfig($uid,'hz_delpconfig',$hash,$updated);
}
- // Synchronize delete with clones.
-
- if(! array_key_exists('transient', \App::$config[$uid]))
- \App::$config[$uid]['transient'] = array();
- if(! array_key_exists($family, \App::$config[$uid]['transient']))
- \App::$config[$uid]['transient'][$family] = array();
-
- /// @FIXME $new is undefined, so dead code
- if ($new) {
- \App::$config[$uid]['transient'][$family]['pcfgdel:'.$key] = $updated;
- }
-
return $ret;
}