diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-23 14:03:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-23 14:03:10 -0300 |
commit | 1459c2923a6f1de73a20466b521fb6e1a627bc45 (patch) | |
tree | d3455b7b1af4d18f36973c3deda0ac588f98ceae /muamba.module | |
parent | 6e84d7f37d716773d4148bee19f505396e7ade43 (diff) | |
download | muamba-1459c2923a6f1de73a20466b521fb6e1a627bc45.tar.gz muamba-1459c2923a6f1de73a20466b521fb6e1a627bc45.tar.bz2 |
Adding interface feature
Diffstat (limited to 'muamba.module')
-rw-r--r-- | muamba.module | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/muamba.module b/muamba.module index ada81d0..4c7c4b8 100644 --- a/muamba.module +++ b/muamba.module @@ -10,14 +10,8 @@ */ function muamba_permission() { return array( - /* - *'administer my module' => array( - * 'title' => t('Administer my module'), - * 'description' => t('Perform administration tasks for my module.'), - *), - */ - 'request item' => array( - 'title' => t('Request an item.'), + 'administer muamba' => array( + 'title' => t('request item'), 'description' => t('Request an item to be borrowed or donated.'), ), ); @@ -27,14 +21,6 @@ function muamba_permission() { * Implements hook_menu() */ function muamba_menu() { - /* - *$items['blog'] = array( - * 'title' => 'blogs', - * 'page callback' => 'blog_page', - * 'access arguments' => array('access content'), - * 'type' => MENU_SUGGESTED_ITEM, - *); - */ $items['muamba/request'] = array( 'title' => 'Request item', 'page callback' => 'muamba_request', |