Ignore:
Timestamp:
12/12/06 15:38:12 (13 years ago)
Author:
jukka
Message:

Fixed #1026. Refactored user resources to not generate new topics for every user and use general portfolio-topic. Unauthenticated users tried to create them when one didn't exist in viewed memberfolder. In general I have a gutfeeling that having many so topics reduces their efficiency, but I am open to arguments, it's only feeling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Extensions/Install.py

    r1197 r1215  
    662662                    x.recalculateAuthors() 
    663663            print >>out, "Migration to 1.3.4 complete" 
     664        if old<='1.4': 
     665            print >>out, "Starting migration to 1.4" 
     666            # delete unnecessary topics from users 
     667            for member in self.community.objectValues('MemberFolder'): 
     668                for x in member.objectValues('Topic'): 
     669                    member._delObject(x.getId()) 
     670            print >>out, "Migration to 1.4 complete" 
     671 
     672 
    664673 
    665674        print >>out,"Migration completed." 
Note: See TracChangeset for help on using the changeset viewer.