Only search for pending locks if the user can lock

Created on 27 January 2014, over 11 years ago
Updated 26 November 2024, 5 months ago

In content_lock_node_view(), there is a check pending locks for the current user viewing the node via content_lock_warn_pending_locks(). This should only be run if the user has access to lock content.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States recrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024