diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm index 7a372ccbb..ee92acf23 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm @@ -1065,13 +1065,10 @@ sub run ($$) { # Hide Lemonldap::NG cookie $class->hideCookie; - # Cleanup and log + # Log $apacheRequest->push_handlers( PerlLogHandler => sub { $class->logGranted( $uri, $datas ); DECLINED }, ); - $apacheRequest->push_handlers( - PerlCleanupHandler => sub { $class->cleanLocalStorage(@_); DECLINED }, - ); # Catch POST rules if ( defined( $transform->{$uri} ) ) { @@ -1203,18 +1200,6 @@ sub status($$) { return OK; } -################# -# OTHER METHODS # -################# - -## @rmethod protected int cleanLocalStorage() -# Clean expired values from the local cache. -# @return Apache2::Const::DECLINED -sub cleanLocalStorage { - $refLocalStorage->purge() if ($refLocalStorage); - return DECLINED; -} - 1; __END__