Browse Source

/me wants to access my sent PMs even if he cannot send any...maybe he was able a while ago...

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

+ 0 - 4
Sources/PersonalMessage.php

@@ -411,10 +411,6 @@ function MessageFolder()
 
 	$context['sort_direction'] = $descending ? 'down' : 'up';
 
-	// Why would you want access to your sent items if you're not allowed to send anything?
-	if ($context['folder'] == 'sent')
-		isAllowedTo('pm_send');
-
 	// Set the text to resemble the current folder.
 	$pmbox = $context['folder'] != 'sent' ? $txt['inbox'] : $txt['sent_items'];
 	$txt['delete_all'] = str_replace('PMBOX', $pmbox, $txt['delete_all']);