From f5eb0f007a68ff19f781f8692e61bc3dce86fe27 Mon Sep 17 00:00:00 2001 From: Paul McCrodden Date: Sat, 6 Dec 2014 19:43:04 +0000 Subject: [PATCH] Removed unused variables found with parview and updated README --- README.md | 11 ++++++----- message_private.module | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4f54ddd..d0656c1 100755 --- a/README.md +++ b/README.md @@ -114,11 +114,12 @@ DEVELOPMENT AND TEST ------------------------------------------------------------------------------- Work above required before releasing 1st beta release. ------------------------------------------------------------------------------- - * Threads can be created using comments on a private message, which will be a - thread. A new permission to reply to messages can be created if necessary. - An admin screen can be used to enable or disable threads to turn on/off - replies on all private messages (Reply, Reply All). A tpl.php template will - need to be added for indentation/presentation. + * Threads can be created using entity reference field on a private message, + which reference the message being replied to. A new permission to reply to + messages can be created if necessary. An admin screen can be used to enable + or disable threads to turn on/off replies on all private messages (Reply, + Reply All). A tpl.php template and perhaps a css file will need to be added + for indentation / presentation. * Flag module on user entity to block/unblock users from messaging them * Flag module on message entity to show/hide messages from users own display * Integrate with rolereference module or similar to provide sending to users diff --git a/message_private.module b/message_private.module index dfdc06c..85e93f3 100755 --- a/message_private.module +++ b/message_private.module @@ -90,7 +90,7 @@ function message_private_menu_local_tasks_alter(&$data, $router_item, $root_path break; case 'message/%': // Add a Messages tab to the private_message Message entities. - $message = menu_get_object($type = 'message', $position = 1, $router_item['href']); + $message = menu_get_object('message', 1, $router_item['href']); if(isset($message->type) && $message->type == 'private_message') { $item = menu_get_item('user/' . $user->uid . '/messages'); $item['title'] = t('Messages');