diff options
author | M. Dent <dentm42@gmail.com> | 2019-01-27 17:36:56 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-01-27 17:36:56 +0100 |
commit | 37b7dc8e7c10870021c835168a441788f0fcb351 (patch) | |
tree | 827b9795db39b081985565bcbb8cf08c9366c674 /Zotlabs | |
parent | 5c2f7a744a544a228b809da5e788795ba89ecb08 (diff) | |
download | volse-hubzilla-37b7dc8e7c10870021c835168a441788f0fcb351.tar.gz volse-hubzilla-37b7dc8e7c10870021c835168a441788f0fcb351.tar.bz2 volse-hubzilla-37b7dc8e7c10870021c835168a441788f0fcb351.zip |
Remove extraneous sync logic
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/PConfig.php | 14 |
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; } |