dougm 02/05/23 09:14:56
Modified: lib/Apache Status.pm
Log:
disable "Enabled mod_perl Hooks" menu item if modperl >= 1.9901
Revision Changes Path
1.26 +2 -0 modperl/lib/Apache/Status.pm
Index: Status.pm
===================================================================
RCS file: /home/cvs/modperl/lib/Apache/Status.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- Status.pm 23 May 2002 16:00:59 -0000 1.25
+++ Status.pm 23 May 2002 16:14:56 -0000 1.26
@@ -1,5 +1,6 @@
package Apache::Status;
use strict;
+use mod_perl ();
$Apache::Status::VERSION = '2.03';
@@ -37,6 +38,7 @@
hooks => "Enabled mod_perl Hooks",
);
+delete $status{'hooks'} if $mod_perl::VERSION >= 1.9901;
delete $status{'sig'} if $Is_Win32;
if($Apache::Server::SaveConfig) {