Index: skinr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/skinr/skinr.module,v
retrieving revision 1.28
diff -u -p -F '^f' -r1.28 skinr.module
--- skinr.module	15 Oct 2010 07:06:17 -0000	1.28
+++ skinr.module	23 Oct 2010 16:45:21 -0000
@@ -26,6 +26,21 @@ function skinr_init() {
 }
 
 /**
+ * Implements hook_module_implements_alter().
+ */
+function skinr_module_implements_alter(&$implementations, $hook) {
+  // Run Skinr first to avoid issues with other modules during hook_init().
+  if ($hook == 'init') {
+    $skinr = array('skinr');
+    $skinr['skinr'] = $implementations['skinr'];
+    unset($implementations['skinr']);
+    array_unshift($implementations, $skinr);
+  }
+}
+
+/**
  * Implementation of hook_preprocess().
  */
 function skinr_preprocess(&$variables, $hook) {