[svn:modperl-modules] rev 195 - Apache-VMonitor-2.0/trunk/lib/Apache

[email protected] 21 Mar 2005 18:52:42 -0000
Newsgroups perl.modperl.modules.svn
Message-ID <[email protected]>
Author: stas
Date: Mon Mar 21 10:52:41 2005
New Revision: 195

Modified:
   Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm
Log:
drop the check for Apache::MPM_IS_THREADED as we require mp-1.9915 or higher


Modified: Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm
==============================================================================
--- Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm	(original)
+++ Apache-VMonitor-2.0/trunk/lib/Apache/VMonitor.pm	Mon Mar 21 10:52:41 2005
@@ -31,11 +31,8 @@
 }
 
 # once 2.0 is released drop the Apache::MPM_IS_THREADED case
-use constant APACHE_IS_THREADED => MP2 &&
-    ($mod_perl::VERSION < 1.9912
-     ? Apache::MPM_IS_THREADED()
-     : require Apache::MPM && Apache::MPM->is_threaded()
-    );
+use constant APACHE_IS_THREADED => MP2 && 
+    require Apache::MPM && Apache::MPM->is_threaded();
 
 # Apache::Scoreboard for 1.3 scoreboard has the vhost accessor only
 # starting from version 0.12