From c3c0c719455a116e92e083154bd6d96dec5defd3 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sun, 3 Nov 2013 16:11:14 +0100 Subject: [PATCH] fixe access mybookmarks block fixe --- materio_flag.module | 14 ++++---------- materio_flag.pages.inc | 1 - 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/materio_flag.module b/materio_flag.module index c6c74dc0..6d2366fa 100755 --- a/materio_flag.module +++ b/materio_flag.module @@ -13,16 +13,10 @@ */ function materio_flag_permission() { return array( - /* - *'administer my module' => array( - * 'title' => t('Administer my module'), - * 'description' => t('Perform administration tasks for my module.'), - *), - */ - // 'access mybookmarks block' => array( - // 'title' => t('Show my bookmarks block'), - // 'description' => t('access own bookmarks block'), - // ), + 'access mybookmarks block' => array( + 'title' => t('Show my bookmarks block'), + 'description' => t('access own bookmarks block'), + ), ); } diff --git a/materio_flag.pages.inc b/materio_flag.pages.inc index e9f4057b..5e4d51f9 100755 --- a/materio_flag.pages.inc +++ b/materio_flag.pages.inc @@ -127,7 +127,6 @@ function materio_flag_createlist_form($type){ }else{ drupal_json_output($rep); } - } /**