Only in private: .DS_Store
Only in private: .private.install.swp
Only in private: .private.module.swp
diff -urp private/private.info private.orig/private.info
--- private/private.info	2008-03-29 16:35:38.000000000 -0400
+++ private.orig/private.info	2007-01-09 23:55:01.000000000 -0500
@@ -3,6 +3,6 @@ name = Private
 description = Allows users to mark content as private, and hide that content from visitors.
 
 ; Information added by drupal.org packaging script on 2007-01-10
-version = "6.x-1.0"
+version = "5.x-1.0"
 project = "private"
 
diff -urp private/private.install private.orig/private.install
--- private/private.install	2008-03-29 17:03:51.000000000 -0400
+++ private.orig/private.install	2007-01-09 23:31:57.000000000 -0500
@@ -2,18 +2,28 @@
 // $Id: private.install,v 1.1.2.1 2007/01/10 04:31:57 eaton Exp $
 
 function private_install() {
-  drupal_install_schema('private');
-}
-
-function private_schema() {
-  $schema['private'] = array (
-    'nid'         => array ( type => 'int', unsigned => TRUE, 'not null' => TRUE, default => 0),
-    'private'     => array ( type => 'int'),
-    'primary key' => array ('nid'),
-  );
-  return $schema;
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      db_query("
+          CREATE TABLE {private} (
+            nid int(10) unsigned NOT NULL default '0' PRIMARY KEY,
+            private int,
+            KEY private_nid (nid)
+          ) /*!40100 DEFAULT CHARACTER SET utf8 */;
+      ");
+      break;
+    case 'pgsql':
+      db_query("
+          CREATE TABLE {private} (
+            nid int NOT NULL default '0',
+            private int,
+            PRIMARY KEY (nid));
+      ");
+      break;
+  }
 }
 
 function private_uninstall() {
-  drupal_uninstall_shema('private');
-}
+  db_query('DROP TABLE {private}');
+}
\ No newline at end of file
diff -urp private/private.module private.orig/private.module
--- private/private.module	2008-03-29 17:17:40.000000000 -0400
+++ private.orig/private.module	2007-01-09 23:31:57.000000000 -0500
@@ -25,6 +25,40 @@
  * @endcode
  */
 
+
+/**
+ * Implementation of hook_enable().
+ *
+ * A node access module needs to force a rebuild of the node access table
+ * when it is enabled to ensure that things are set up.
+ */
+function private_enable() {
+  node_access_rebuild();
+}
+
+/**
+ * Implementation of hook_disable().
+ *
+ * A node access module needs to force a rebuild of the node access table
+ * when it is disabled to ensure that its entries are removed from the table.
+ */
+function private_disable() {
+  private_disabling(TRUE);
+  node_access_rebuild();
+}
+
+/**
+ * Simple function to make sure we don't respond with grants when disabling
+ * ourselves.
+ */
+function private_disabling($set = NULL) {
+  static $disabling = false;
+  if ($set !== NULL) {
+    $disabling = $set;
+  }
+  return $disabling;
+}
+
 /**
  * Implementation of hook_perm().
  *
@@ -71,6 +105,9 @@ function private_node_grants($account, $
  * returning one record.
  */
 function private_node_access_records($node) {
+  if (private_disabling()) {
+    return;
+  }
 
   // We only care about the node if it's been marked private. If not, it is
   // treated just like any other node and we completely ignore it.
@@ -106,7 +143,7 @@ function private_node_access_records($no
  * checkbox is labelled, only the node author and users with 'access private content' 
  * privileges may see it. 
  */
-function private_form_alter(&$form, $form_state, $form_id) {
+function private_form_alter($form_id, &$form) {
   if ($form['#id'] == 'node-form') {
     if (user_access('mark content as private')) {
       $form['private'] = array(
@@ -160,4 +197,4 @@ function private_link($type, $node = NUL
 
 function theme_private_node_link($node) {
   return theme('image', drupal_get_path('module', 'private') . '/icon_key.gif', t('Private'), t('This content is private'));
-}
+}
\ No newline at end of file
