Switch to unified view

a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py
...
...
285
        tool_already_subscribed = cls.query.get(user_id=user_id,
285
        tool_already_subscribed = cls.query.get(user_id=user_id,
286
            project_id=project_id,
286
            project_id=project_id,
287
            app_config_id=app_config_id,
287
            app_config_id=app_config_id,
288
            artifact_index_id=None)
288
            artifact_index_id=None)
289
        if tool_already_subscribed:
289
        if tool_already_subscribed:
290
            log.warning('Tried to subscribe to artifact %s, while there is a tool subscription', artifact)
290
            log.debug('Tried to subscribe to artifact %s, while there is a tool subscription', artifact)
291
            return
291
            return
292
        if artifact is None:
292
        if artifact is None:
293
            artifact_title = 'All artifacts'
293
            artifact_title = 'All artifacts'
294
            artifact_url = None
294
            artifact_url = None
295
            artifact_index_id = None
295
            artifact_index_id = None