? .DS_Store
? migrate
? site/.hosting_site.module.swp
? task/.hosting_task.module.swp
Index: hosting.features.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/hosting.features.inc,v
retrieving revision 1.3
diff -u -r1.3 hosting.features.inc
--- hosting.features.inc	30 Nov 2008 22:06:13 -0000	1.3
+++ hosting.features.inc	12 Feb 2009 14:02:21 -0000
@@ -114,7 +114,8 @@
     foreach ($hooks as $func) {
       $features = array_merge($features, $func());
     }
-    cache_set('hosting_features', 'cache', serialize($features));
+    $data = serialize($features);
+    cache_set('hosting_features', 'cache', $data);
     return $features;
   }
   else {
Index: hosting.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/hosting.info,v
retrieving revision 1.9
diff -u -r1.9 hosting.info
--- hosting.info	18 Nov 2008 14:47:07 -0000	1.9
+++ hosting.info	12 Feb 2009 14:02:22 -0000
@@ -1,4 +1,4 @@
 name = Hosting
 description = Allow this Drupal site to deploy hosted sites.
 package = Hosting
-dependencies = provision hosting_task hosting_client hosting_db_server hosting_package hosting_platform hosting_site hosting_web_server
+dependencies = hosting_task hosting_client hosting_db_server hosting_package hosting_platform hosting_site hosting_web_server
Index: hosting.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/hosting.module,v
retrieving revision 1.87
diff -u -r1.87 hosting.module
--- hosting.module	5 Feb 2009 22:55:00 -0000	1.87
+++ hosting.module	12 Feb 2009 14:02:23 -0000
@@ -12,17 +12,17 @@
  */
 
 include_once('hosting_help.inc');
-include_once('hosting.wizard.inc');
+#include_once('hosting.wizard.inc');
 include_once('hosting.queues.inc');
 include_once('hosting.features.inc');
 
 /**
  * Implementation of hook_menu()
  */
-function hosting_menu($may_cache = true) {
+function hosting_menu($may_cache) {
   global $user;
   $items = array();
-  hosting_wizard_menu($may_cache, $items);
+#  hosting_wizard_menu($cache, $items);
   if ($may_cache) {
 
     $items[] = array(
Index: client/hosting_client.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/client/hosting_client.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_client.info
--- client/hosting_client.info	2 Jun 2008 18:59:11 -0000	1.1
+++ client/hosting_client.info	12 Feb 2009 14:02:23 -0000
@@ -1,4 +1,3 @@
 name = Client
 description = Allow Hostmaster to configure clients.
 package = Hosting
-dependencies = hosting
Index: client/hosting_client.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/client/hosting_client.install,v
retrieving revision 1.7
diff -u -r1.7 hosting_client.install
--- client/hosting_client.install	5 Feb 2009 23:44:11 -0000	1.7
+++ client/hosting_client.install	12 Feb 2009 14:02:23 -0000
@@ -10,8 +10,9 @@
         name longtext,
         organization longtext,
         email varchar(255) NOT NULL default '',
-        PRIMARY KEY  (vid)
+        PRIMARY KEY (vid)
       ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
+
       db_query("CREATE UNIQUE INDEX hosting_client_email_idx ON hosting_client (email)");
 
       db_query("CREATE TABLE {hosting_client_user} (
@@ -19,12 +20,17 @@
          client int(10) unsigned NOT NULL default '0',
          PRIMARY KEY (user)
        ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
-      db_query("INSERT INTO {hosting_client_user} VALUES (1, 1)");
+
+      hosting_client_enable();
       break;
    }
 
 }
 
+function hosting_client_enable() {
+  db_query("INSERT INTO {hosting_client_user} VALUES (1, 1)");
+}
+
 /**
  * Add the unique index to the client table
  *
Index: db_server/hosting_db_server.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/db_server/hosting_db_server.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_db_server.info
--- db_server/hosting_db_server.info	2 Jun 2008 20:40:17 -0000	1.1
+++ db_server/hosting_db_server.info	12 Feb 2009 14:02:23 -0000
@@ -1,4 +1,3 @@
 name = Database Server 
 description = Allow Hostmaster to configure database servers.
 package = Hosting
-dependencies = hosting
Index: db_server/hosting_db_server.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/db_server/hosting_db_server.install,v
retrieving revision 1.2
diff -u -r1.2 hosting_db_server.install
--- db_server/hosting_db_server.install	15 Oct 2008 06:49:25 -0000	1.2
+++ db_server/hosting_db_server.install	12 Feb 2009 14:02:23 -0000
@@ -11,7 +11,7 @@
         db_type longtext NOT NULL, 
         db_user longtext NOT NULL,
         db_passwd longtext NOT NULL,
-        PRIMARY KEY  (vid)
+        PRIMARY KEY (vid)
       ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
       break;
   }
Index: package/hosting_package.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/package/hosting_package.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_package.info
--- package/hosting_package.info	2 Jun 2008 18:59:12 -0000	1.1
+++ package/hosting_package.info	12 Feb 2009 14:02:23 -0000
@@ -1,4 +1,3 @@
 name = Package management
 description = Allow Hostmaster to keep track which packages have been installed.
 package = Hosting
-dependencies = hosting
Index: platform/hosting_platform.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/platform/hosting_platform.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_platform.info
--- platform/hosting_platform.info	2 Jun 2008 18:59:12 -0000	1.1
+++ platform/hosting_platform.info	12 Feb 2009 14:02:23 -0000
@@ -1,4 +1,3 @@
 name = Platforms
 description = Allow Hostmaster to keep track of multiple instances of Drupal.
 package = Hosting
-dependencies = hosting
Index: platform/hosting_platform.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/platform/hosting_platform.install,v
retrieving revision 1.3
diff -u -r1.3 hosting_platform.install
--- platform/hosting_platform.install	14 Nov 2008 15:39:14 -0000	1.3
+++ platform/hosting_platform.install	12 Feb 2009 14:02:23 -0000
@@ -12,7 +12,7 @@
         web_server int(11) NOT NULL default '0',
         release_id int(11) NOT NULL default '0',
         verified int(11) NOT NULL default '0',
-        PRIMARY KEY  (vid)
+        PRIMARY KEY (vid)
       ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
       break;
    }
Index: site/hosting_site.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/site/hosting_site.info,v
retrieving revision 1.2
diff -u -r1.2 hosting_site.info
--- site/hosting_site.info	12 Jun 2008 03:24:45 -0000	1.2
+++ site/hosting_site.info	12 Feb 2009 14:02:23 -0000
@@ -1,4 +1,3 @@
 name = Sites
 description = Allow hostmaster manage hosted sites.
 package = Hosting
-dependencies = hosting 
Index: site/hosting_site.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/site/hosting_site.install,v
retrieving revision 1.4
diff -u -r1.4 hosting_site.install
--- site/hosting_site.install	28 Nov 2008 02:38:31 -0000	1.4
+++ site/hosting_site.install	12 Feb 2009 14:02:23 -0000
@@ -15,7 +15,7 @@
         language VARCHAR(10) NOT NULL default 'en',
         last_cron int(10) default NULL,
         status tinyint unsigned NOT NULL default '0',
-        PRIMARY KEY  (vid)
+        PRIMARY KEY (vid)
       ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
 
       db_query("CREATE TABLE {hosting_site_backups} (
@@ -25,7 +25,7 @@
         description longtext,
         filename longtext,
         timestamp int(11) default NULL,
-        PRIMARY KEY  (bid)    
+        PRIMARY KEY (bid)    
         ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
       break;
    }
Index: site/hosting_site.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/site/hosting_site.module,v
retrieving revision 1.78
diff -u -r1.78 hosting_site.module
--- site/hosting_site.module	5 Feb 2009 22:50:42 -0000	1.78
+++ site/hosting_site.module	12 Feb 2009 14:02:24 -0000
@@ -663,7 +663,7 @@
     '!link' => $create_site_link));
 }
 
-function hosting_site_menu($may_cache = false) {
+function hosting_site_menu($may_cache) {
   $items[] = array(
     'path' => 'hosting/sites',
     'title' => t('Hosted sites'),
@@ -733,11 +733,12 @@
 function _hosting_site_form_populate($element, $value, $value2 = null) {
   $form[$element] = call_user_func('_hosting_site_form_'. $element, $value, $value2);
 
+  $form_render = drupal_render(form_builder('hosting-site-form', $form));
   print drupal_to_js(
     array(
       'status' => 'TRUE',
       'type' => $form[$element]['#type'],
-      'data' => drupal_render(form_builder('hosting-site-form', $form)),
+      'data' => $form_render,
     )
   );
   exit();
Index: task/hosting_task.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/task/hosting_task.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_task.info
--- task/hosting_task.info	19 Jun 2008 21:17:31 -0000	1.1
+++ task/hosting_task.info	12 Feb 2009 14:02:24 -0000
@@ -1,4 +1,3 @@
 name = Hosting tasks
 description = Allow Hostmaster to keep track of tasks that have been processed on the servers.
 package = Hosting
-dependencies = hosting 
Index: task/hosting_task.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/task/hosting_task.install,v
retrieving revision 1.3
diff -u -r1.3 hosting_task.install
--- task/hosting_task.install	15 Oct 2008 06:49:26 -0000	1.3
+++ task/hosting_task.install	12 Feb 2009 14:02:24 -0000
@@ -12,7 +12,7 @@
       rid int(11) NOT NULL default '0',
       task_status int(11) default NULL,
       executed int(11) default NULL,
-    PRIMARY KEY  (vid)
+    PRIMARY KEY (vid)
     ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
 
     db_query("CREATE TABLE {hosting_task_arguments} (
Index: web_server/hosting_web_server.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/web_server/hosting_web_server.info,v
retrieving revision 1.1
diff -u -r1.1 hosting_web_server.info
--- web_server/hosting_web_server.info	2 Jun 2008 18:59:12 -0000	1.1
+++ web_server/hosting_web_server.info	12 Feb 2009 14:02:24 -0000
@@ -1,4 +1,3 @@
 name = Web Server 
 description = Allow hostmaster to configure web servers.
 package = Hosting
-dependencies = hosting
Index: web_server/hosting_web_server.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hosting/web_server/hosting_web_server.install,v
retrieving revision 1.2
diff -u -r1.2 hosting_web_server.install
--- web_server/hosting_web_server.install	15 Oct 2008 06:49:26 -0000	1.2
+++ web_server/hosting_web_server.install	12 Feb 2009 14:02:24 -0000
@@ -14,7 +14,7 @@
         config_path longtext,
         backup_path longtext,
         restart_cmd longtext,
-        PRIMARY KEY  (vid)
+        PRIMARY KEY (vid)
       ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
       break;
   }
