Browse Source

As suggested by John renamed the hook in prepareDisplayContext

Signed-off-by: emanuele <[email protected]>
emanuele 12 năm trước cách đây
mục cha
commit
47e180cb70
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Sources/Display.php

+ 1 - 1
Sources/Display.php

@@ -1275,7 +1275,7 @@ function prepareDisplayContext($reset = false)
 	// Is this user the message author?
 	$output['is_message_author'] = $message['id_member'] == $user_info['id'];
 
-	call_integration_hook('integrate_prepare_context', array(&$output, &$message));
+	call_integration_hook('integrate_prepare_display_context', array(&$output, &$message));
 
 	if (empty($options['view_newest_first']))
 		$counter++;