From 37b7dc8e7c10870021c835168a441788f0fcb351 Mon Sep 17 00:00:00 2001 From: "M. Dent" Date: Sun, 27 Jan 2019 17:36:56 +0100 Subject: Remove extraneous sync logic --- Zotlabs/Lib/PConfig.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'Zotlabs/Lib/PConfig.php') 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; } -- cgit v1.2.3