Index: pathauto.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.install,v
retrieving revision 1.1.4.25
diff -u -p -r1.1.4.25 pathauto.install
--- pathauto.install	4 May 2008 22:59:38 -0000	1.1.4.25
+++ pathauto.install	5 May 2008 15:51:46 -0000
@@ -73,11 +73,6 @@ function pathauto_install() {
  * Implementation of hook_uninstall().
  */
 function pathauto_uninstall() {
-  // Delete the url_alias_extra if people have it
-  if (db_table_exists('url_alias_extra')) {
-    db_query("DROP TABLE {url_alias_extra}");
-  }
-
   // Delete all the pathauto variables and then clear the variable cache  
   db_query("DELETE FROM {variable} WHERE name LIKE 'pathauto_%'");
   cache_clear_all('variables', 'cache');
@@ -151,4 +146,15 @@ function pathauto_update_6() {
   db_query("DELETE FROM {variable} WHERE name LIKE 'pathauto_%_supportsfeeds'");
   cache_clear_all('variables', 'cache');
   return array();
-}
\ No newline at end of file
+}
+
+/**
+ * Remove the url_alias_extra table which wasn't used
+ */
+function pathauto_update_7() {
+  $ret = array();
+  if (db_table_exists('url_alias_extra')) {
+    $ret[] = db_query('DROP TABLE {url_alias_extra}');
+  }
+  return $ret;
+}
