Index: modules/openlayers_ui/openlayers_ui.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/modules/openlayers_ui/Attic/openlayers_ui.module,v
retrieving revision 1.1.2.40.2.7
diff -u -p -r1.1.2.40.2.7 openlayers_ui.module
--- modules/openlayers_ui/openlayers_ui.module	30 Nov 2010 20:44:59 -0000	1.1.2.40.2.7
+++ modules/openlayers_ui/openlayers_ui.module	26 Jan 2011 00:16:31 -0000
@@ -45,10 +45,15 @@ function openlayers_ui_help($path, $arg)
 }
 
 /**
- * Implements hook_perm
+ * Implements hook_permission().
  */
-function openlayers_ui_perm() {
-  return array('administer openlayers');
+function openlayers_ui_permission() {
+  return array(
+    'administer openlayers' => array(
+      'title' => t('Administer OpenLayers'),
+      'description' => t('Configure OpenLayers settings, styles, presets, and layers.'),
+    ),
+  );
 }
 
 /**
