2
0
Эх сурвалжийг харах

Removes enable code in Profile, in regards to issuing warnings

Signed-off-by: Bryan Deakin <[email protected]>
Bryan Deakin 11 жил өмнө
parent
commit
8b9688c375
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      Sources/Profile.php

+ 0 - 1
Sources/Profile.php

@@ -299,7 +299,6 @@ function ModifyProfile($post_errors = array())
 					'file' => 'Profile-Actions.php',
 					'function' => 'issueWarning',
 					'token' => 'profile-iw%u',
-					'enabled' => !$context['user']['is_owner'],
 					'permission' => array(
 						'own' => array('issue_warning'),
 						'any' => array('issue_warning'),