Prevent unnecessary user sync triggered syncing empty data in bakery_user_presave

Created on 20 February 2015, over 10 years ago
Updated 15 May 2025, 28 days ago

In bakery_user_presave code will always create $_SESSION['bakery']['data'] and assign result of bakery_transmit, even its empty array.

This will result in bakery_user_update will always trigger user save to slave sites, even if its syncing empty (no) data.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia mhrabovcin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024