Index: pathauto.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.install,v
retrieving revision 1.6
diff -u -p -r1.6 pathauto.install
--- pathauto.install	4 May 2008 23:06:10 -0000	1.6
+++ pathauto.install	5 May 2008 15:55:07 -0000
@@ -62,11 +62,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');
@@ -109,4 +104,15 @@ function pathauto_update_4() {
   variable_del('pathauto_quotes');
   $items = array();
   return $items;
-}
\ 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')) {
+    db_drop_table($ret, 'url_alias_extra');
+  }
+  return $ret;
+}
