Force defining hook_get_auth_webserver_profile

Or it just won't do anything
This commit is contained in:
Daniel Berteaud 2016-04-12 16:56:42 +02:00
parent 6c2188e568
commit 82c7e91444
1 changed files with 23 additions and 25 deletions

View File

@ -5,7 +5,6 @@ $lang = substr $lang, 0, 2;
$OUT .=<<"EOF";
if (!function_exists('hook_get_auth_webserver_profile')){
function hook_get_auth_webserver_profile(\$user_name) {
if (!isset(\$_SERVER['REMOTE_USER'])){
return false;
@ -31,7 +30,6 @@ if (!function_exists('hook_get_auth_webserver_profile')){
'templatelist' => 'default,basic,MyOrgTemplate',
);
}
}
if (!function_exists('hook_get_auth_webserver_permissions')){
function hook_get_auth_webserver_permissions(\$user_name) {