Don't blindly update the user prefs for display_calendars.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Sep 2009 15:52:31 +0000 (11:52 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Sep 2009 15:58:47 +0000 (11:58 -0400)
commit6dc6d2e8cfdf9b9f03d0bea9afdc6b4cfab78715
tree0845cc825a8b7338c0a41bc0db869ffa23850ea6
parent888b0912932aee5f4bc11d855b6945d139aa5e13
Don't blindly update the user prefs for display_calendars.

Only update the pref if we explicitly pass a toggle_calendar or if we
are creating the user's first share.
kronolith/lib/Kronolith.php