6.0.0-beta1
8/28/25

[#12524] removeUserData() removes all events in public calendars
Summary removeUserData() removes all events in public calendars
Queue Kronolith
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 08/01/2013 (4410 days ago)
Due
Updated 04/02/2014 (4166 days ago)
Assigned
Resolved 04/02/2014 (4166 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/02/2014 10:54:07 PM Michael Rubinsky Comment #4
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Fixed in master and FRAMEWORK_5_1
04/02/2014 10:53:46 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit d76522572296cf11b0caf14009d05236a7593724
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Apr 2 18:49:17 2014 -0400

     Bug: 12524 Only remove events created by the user.

  kronolith/lib/Kronolith.php |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/d76522572296cf11b0caf14009d05236a7593724
04/02/2014 10:53:22 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_1):

commit 7db835d0d6fa7451f9428fc908161cf2c960fde3
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Apr 2 18:49:17 2014 -0400

     Bug: 12524 Only remove events created by the user.

  kronolith/lib/Kronolith.php |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/7db835d0d6fa7451f9428fc908161cf2c960fde3
08/01/2013 11:21:56 AM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ removeUserData() removes all events in public calendars
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi,

user 'foobear_' reported on IRC that removeUserData() removes _all_ 
events in public calendars.

removeUserData() calls Kronolith::removeUserEvents($user).
From the comment block of that function:
"Remove all events owned by the specified user in all calendars."

Unfortunately the code is lacking filtering by the given user,
so it queues all events of writable shares for deletion.

Thomas

Saved Queries