? .svn
? user_pictures_install.patch
Index: avatar_selection.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/avatar_selection/Attic/avatar_selection.install,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 avatar_selection.install
--- avatar_selection.install	8 Mar 2007 10:38:14 -0000	1.1.2.1
+++ avatar_selection.install	23 May 2007 00:48:55 -0000
@@ -1,11 +1,15 @@
 <?php
 // $Id: avatar_selection.install,v 1.1.2.1 2007/03/08 10:38:14 snpower Exp $
+
 /**
-* Implementation of hook_install()
-* just give a message
-*/
+ * Implementation of hook_install().
+ */
 function avatar_selection_install() {
-  watchdog('Avatar Selection', 'avatar_selection module installed');
+  // Automatically enable the User Pictures option, since this module requires it.
+  if (!variable_get('user_pictures', 0)) {
+    variable_set('user_pictures', 1);
+    drupal_set_message(t('User Pictures option was enabled by the Avatar Selection module. You may configure its settings at the <a href="@url">User settings</a> page.', array('@url' => url('admin/user/settings'))));
+  }
 }
 
 /**
