Skip to content

Commit e82df00

Browse files
msoundBalazs Dianiska
authored andcommitted
Issue #2404121 by msound: Improve error message
1 parent 7a07b18 commit e82df00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

simplesamlphp_auth.module

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ function simplesamlphp_auth_permission() {
8484
* Loads simplesamlphp class and initializes global variables.
8585
*/
8686
function _simplesaml_auth_autoload() {
87-
if (!_simplesamlphp_auth_isEnabled(TRUE)) {
88-
drupal_set_message(t("We're sorry this feature is not yet enabled."), 'error');
89-
87+
if (!_simplesamlphp_auth_isEnabled()) {
9088
return FALSE;
9189
}
9290

0 commit comments

Comments
 (0)