X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/ee907b08130cbb93fd0d089b43b3d4db7e8ec9bb..83cd2734b6931b3ccd7f369187b47b722ac2c40a:/skins/photo_theme/homepage_dispatcher.py?ds=sidebyside diff --git a/skins/photo_theme/homepage_dispatcher.py b/skins/photo_theme/homepage_dispatcher.py index 443c164..de5cb66 100755 --- a/skins/photo_theme/homepage_dispatcher.py +++ b/skins/photo_theme/homepage_dispatcher.py @@ -17,14 +17,4 @@ if came_from : came_from = '%s?%s&%s' % (url, qs, mq(portal_status_message=_('Login success'))) return resp.redirect(came_from) -# else : -# from Products.realis.utils import searchContentsWithLocalRolesForAuthenticatedUser as search -# results = search(context, portal_type='Portfolio') -# if results : -# atool = getToolByName(context, 'portal_actions') -# return context.setRedirect(atool, 'user/my_albums', portal_status_message=_('Login success')) -# else : -# utool = getToolByName(context, 'portal_url') -# return resp.redirect('%s?%s' % (utool(), mq(portal_status_message=_('Login success')))) - return resp.redirect('%s?%s' % (utool(), mq(portal_status_message=_('Login success')))) \ No newline at end of file