diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-12 18:40:51 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-12 18:40:51 +0200 |
commit | ae074153c8367c9fac143ac29349b9f9d802e90a (patch) | |
tree | e43acc51990ed6a81717d1fd47688dcd2dfec694 /Zotlabs/Lib/Libzotdir.php | |
parent | 63d46dbdfbb551b4c5c8b35e3498a0fd6978f675 (diff) | |
download | volse-hubzilla-ae074153c8367c9fac143ac29349b9f9d802e90a.tar.gz volse-hubzilla-ae074153c8367c9fac143ac29349b9f9d802e90a.tar.bz2 volse-hubzilla-ae074153c8367c9fac143ac29349b9f9d802e90a.zip |
remouve updates stuff from import_directory_profile()
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index c595f0b3f..025326d51 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -438,7 +438,7 @@ class Libzotdir { call_hooks('local_dir_update', $arr); if (perm_is_allowed($uid, '', 'view_profile')) { - self::import_directory_profile($hash, $arr['profile'], $p[0]['xchan_url'], 0, 1); + self::import_directory_profile($hash, $arr['profile']); } else { // they may have made it private @@ -460,13 +460,10 @@ class Libzotdir { * * @param string $hash * @param array $profile - * @param string $addr - * @param number $ud_flags (optional) UPDATE_FLAGS_UPDATED - * @param number $suppress_update (optional) default 0 * @return boolean $updated if something changed */ - static function import_directory_profile($hash, $profile, $addr, $ud_flags = UPDATE_FLAGS_UPDATED, $suppress_update = 0) { + static function import_directory_profile($hash, $profile) { logger('import_directory_profile', LOGGER_DEBUG); if (! $hash) @@ -606,9 +603,6 @@ class Libzotdir { */ call_hooks('import_directory_profile', $d); - if (($d['update']) && (! $suppress_update)) - self::update_modtime($arr['xprof_hash'], $addr); - return $d['update']; } |