public function gitlab_error()
{
if (empty(parent::$options['gitlab_enterprise_token']) && parent::$auth_required['gitlab_enterprise'] || empty(parent::$options['gitlab_access_token']) && parent::$auth_required['gitlab']) {
if (!\PAnD::is_admin_notice_active('gitlab-error-1')) {
return;
}
?>
<div data-dismissible="gitlab-error-1" class="error notice is-dismissible">
<p>
<?php
esc_html_e('You must set a GitLab.com, GitLab CE, or GitLab Enterprise Access Token.', 'github-updater');
?>
</p>
</div>
<?php
}
}