Show activities on shot page.
This commit is contained in:
@@ -93,8 +93,6 @@ def _parent_name(task):
|
||||
def register_task_activity(task, descr):
|
||||
user_id = pillar.api.utils.authentication.current_user_id()
|
||||
if not user_id:
|
||||
import flask
|
||||
|
||||
log.error('Unable to register task activity %r for task %s: user_id=%s',
|
||||
descr, task['_id'], user_id)
|
||||
return
|
||||
|
Reference in New Issue
Block a user