Index: pathauto.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.inc,v
retrieving revision 1.45.2.12
diff -u -r1.45.2.12 pathauto.inc
--- pathauto.inc	3 Mar 2010 04:48:17 -0000	1.45.2.12
+++ pathauto.inc	4 May 2010 22:03:31 -0000
@@ -218,7 +218,10 @@
   $output = _pathauto_clean_separators($output, $separator);
 
   // Give other modules a chance to clean this alias.
-  module_invoke_all('pathauto_clean_alias', $output);
+  foreach (module_implements('pathauto_clean_alias') as $module) {
+    $function = $module .'_pathauto_clean_alias';
+    $output = $function($output);
+  }
 
   return $output;
 }
