mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-11 23:59:31 -06:00
Please be the last one
This commit is contained in:
@@ -531,10 +531,6 @@ class ConsumerPlugin(
|
||||
settings.AUDIT_LOG_ENABLED
|
||||
and self.metadata.actor_id is not None
|
||||
):
|
||||
from auditlog.models import (
|
||||
LogEntry, # type: ignore[import-untyped]
|
||||
)
|
||||
|
||||
actor = User.objects.filter(pk=self.metadata.actor_id).first()
|
||||
if actor is not None:
|
||||
from auditlog.context import ( # type: ignore[import-untyped]
|
||||
|
||||
Reference in New Issue
Block a user