MDL-72325 user: Use the core_user::awaiting_action() in existing places
commitf9ee118e9452ab942a5aca8be7997de5278e395b
authorDavid Mudrák <david@moodle.com>
Thu, 12 Aug 2021 10:44:52 +0000 (12 12:44 +0200)
committerDavid Mudrák <david@moodle.com>
Thu, 12 Aug 2021 11:05:38 +0000 (12 13:05 +0200)
tree948048a4e146cb8ffd371d3adaff7e9d0ebcdd6d
parent124b82831b2bfa7741f28752e8882ab3e43e9b04
MDL-72325 user: Use the core_user::awaiting_action() in existing places

There were existing places each doing its own checks similar to the ones
covered by the newly added core_user::awaiting_action() method. This
patch replaces those custom checks with this new API call.
message/classes/helper.php
message/output/popup/lib.php
user/classes/analytics/indicator/user_profile_set.php