Skip to content

fix: update last share update time when changing user status - #64023

Open
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-user-status-mtime
Open

fix: update last share update time when changing user status#64023
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-user-status-mtime

Conversation

@icewind1991

@icewind1991 icewind1991 commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

We're planning on using the share modified date to coordinate syncing legacy shares, so we also need to update it when a user changes their suer status.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 36 milestone Sep 4, 2026
@icewind1991
icewind1991 requested a review from a team as a code owner September 4, 2026 13:22
@icewind1991
icewind1991 requested review from CarlSchwan and salmart-dev and removed request for a team September 4, 2026 13:22
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 4, 2026
@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable35

$share = new Share(
$share->id,
$share->owner,
$share->lastUpdated,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$time,

Tests should be failing because of this missing change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants