mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-30 04:30:49 +02:00
This isn't used anymore
The healthcheck is now done by fpm
This commit is contained in:
parent
a8d405cb48
commit
224f2f4508
@ -18,13 +18,6 @@ class mailu extends rcube_plugin
|
||||
$args['action'] = 'login';
|
||||
}
|
||||
|
||||
$ua = $_SERVER['HTTP_USER_AGENT'];
|
||||
$ra = $_SERVER['REMOTE_ADDR'];
|
||||
if ($ua == 'health' and ($ra == '127.0.0.1' or $ra == '::1')) {
|
||||
print('OK');
|
||||
exit();
|
||||
}
|
||||
|
||||
return $args;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user