Force defining hook_get_auth_webserver_profile
Or it just won't do anything
This commit is contained in:
parent
6c2188e568
commit
82c7e91444
|
@ -5,8 +5,7 @@ $lang = substr $lang, 0, 2;
|
|||
|
||||
$OUT .=<<"EOF";
|
||||
|
||||
if (!function_exists('hook_get_auth_webserver_profile')){
|
||||
function hook_get_auth_webserver_profile(\$user_name) {
|
||||
function hook_get_auth_webserver_profile(\$user_name) {
|
||||
if (!isset(\$_SERVER['REMOTE_USER'])){
|
||||
return false;
|
||||
}
|
||||
|
@ -30,7 +29,6 @@ if (!function_exists('hook_get_auth_webserver_profile')){
|
|||
'htmleditormode' => 'inline',
|
||||
'templatelist' => 'default,basic,MyOrgTemplate',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('hook_get_auth_webserver_permissions')){
|
||||
|
|
Loading…
Reference in New Issue