Explorar o código

Removes enable code in Profile, in regards to issuing warnings

Signed-off-by: Bryan Deakin <[email protected]>
Bryan Deakin %!s(int64=11) %!d(string=hai) anos
pai
achega
8b9688c375
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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'),