Index: porterstemmer.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/porterstemmer/porterstemmer.module,v
retrieving revision 1.2.2.5
diff -u -p -r1.2.2.5 porterstemmer.module
--- porterstemmer.module	21 Oct 2009 23:47:22 -0000	1.2.2.5
+++ porterstemmer.module	23 Oct 2009 13:01:12 -0000
@@ -26,22 +26,8 @@ function porterstemmer_search_preprocess
     return $text;
   }
 
-  // See if the PECL stemming package is installed and try to load it.
-
-  $has_pecl_stem = FALSE;
-
-  if (extension_loaded( 'stem')) {
-    $has_pecl_stem = TRUE;
-  }
-  else {
-    // dynamic loading of extensions is going away in PHP 6, so leave this
-    // check here!
-    if (function_exists( 'dl' )) {
-      $has_pecl_stem = dl('stem.so');
-    }
-  }
-
-  $has_pecl_stem = $has_pecl_stem && function_exists('stem_english');
+  // See whether PECL stem extension is loaded.
+  $has_pecl_stem = extension_loaded('stem');
 
   // Process each word, skipping delimiters
   $isword = !preg_match('/' . PORTERSTEMMER_BOUNDARY . '/', $words[0] );
