Skip to content

Commit 7a07b18

Browse files
msoundBalazs Dianiska
authored andcommitted
Issue #2407371 by msound: Changes to hook_requirements
1 parent 574e38d commit 7a07b18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

simplesamlphp_auth.install

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function simplesamlphp_auth_requirements($phase) {
5656
if ($phase == 'runtime') {
5757
if (!variable_get('simplesamlphp_auth_activate', 0)) {
5858
$requirements['simplesamlphp_auth'] = array(
59-
'severity' => REQUIREMENT_INFO,
60-
'title' => 'simpleSAMLphp_auth',
59+
'severity' => REQUIREMENT_WARNING,
60+
'title' => 'SimpleSAMLphp auth',
6161
'value' => t('SimpleSAMLphp authentication is NOT activated'),
6262
'description' => t('It can be activated on the !admin_page.', array('!admin_page' => l(t('configuration page'), 'admin/config/people/simplesamlphp_auth'))),
6363
);
@@ -66,8 +66,8 @@ function simplesamlphp_auth_requirements($phase) {
6666
$basedir = variable_get('simplesamlphp_auth_installdir', '/var/simplesamlphp');
6767
if (!file_exists($basedir . '/lib/_autoload.php')) {
6868
$requirements['simplesamlphp_auth'] = array(
69-
'severity' => REQUIREMENT_WARNING,
70-
'title' => 'simpleSAMLphp_auth',
69+
'severity' => REQUIREMENT_ERROR,
70+
'title' => 'SimpleSAMLphp auth',
7171
'value' => t('SimpleSAMLphp authentication is missing the required SimpleSAMLphp library'),
7272
'description' => t('Please download and install the !simplesamlphp library.', array('!simplesamlphp' => l(t('SimpeSAMLphp'), 'https://simplesamlphp.org/download'))),
7373
);

0 commit comments

Comments
 (0)