[cvs] commit: turba/scripts/upgrades 2007-06-17_flatten_shares.php

Michael Rubinsky mike at theupstairsroom.com
Sun Jul 22 16:13:45 UTC 2007


mrubinsk    2007-07-22 12:13:45 EDT

  Modified files:
    scripts/upgrades     2007-06-17_flatten_shares.php 
  Log:
  This updates the upgrade script for recent Turba changes which has removed all meaning from the share keys.
  This *should* work on virgin fw_3 data as well as head data that has not yet been run through this script.  Will probably need an additional upgrade script for those of us who have run this already and wish to keep our shares...
  This also totally removes the code that attempts to upgrade the user prefs.  There were a number of issues with doing that:
  1) Would only work on a SQL pref backend (authentication issues)
  2) With pre-flattened shares in Turba, the 'default' address book was simply referred to as the source name (localsql for example).  When updating prefs in this script, there is really no way of knowing 100% if an address book listed is referring to a default share enabled address book (these entries would need to be changed in the prefs) or if it is simply some other non-share enabled source.  We will need to run this update as some sort of maint. once the user logs in - until then we should probably clear out these prefs since the user's default address book will no longer be visible by default, but I'm a little hesitant to just wipe out a user pref...
  
  Well, that turned into quite a commit message, didn't it?
  
  Revision  Changes    Path
  1.8       +39 -63    turba/scripts/upgrades/2007-06-17_flatten_shares.php

  Chora Links:
  http://cvs.horde.org/diff.php/turba/scripts/upgrades/2007-06-17_flatten_shares.php?r1=1.7&r2=1.8&ty=u


More information about the cvs mailing list