Switch to unified view

a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
...
...
527
            " as an easy place to store personal data that doesn't need its own"
527
            " as an easy place to store personal data that doesn't need its own"
528
            " project such as cloned repositories.") % user.display_name
528
            " project such as cloned repositories.") % user.display_name
529
529
530
        # clear the RoleCache for the user so this project will
530
        # clear the RoleCache for the user so this project will
531
        # be picked up by user.my_projects()
531
        # be picked up by user.my_projects()
532
        g.credentials.clear_user(user._id)
532
        g.credentials.clear_user(user._id, '*')
533
        with h.push_config(c, project=p, user=user):
533
        with h.push_config(c, project=p, user=user):
534
            ThreadLocalORMSession.flush_all()
534
            ThreadLocalORMSession.flush_all()
535
            # have to add user to context, since this may occur inside auth code
535
            # have to add user to context, since this may occur inside auth code
536
            # for user-project reg, and c.user isn't set yet
536
            # for user-project reg, and c.user isn't set yet
537
            g.post_event('project_created')
537
            g.post_event('project_created')