Browse Source

Removes enable code in Profile, in regards to issuing warnings

Signed-off-by: Bryan Deakin <[email protected]>
Bryan Deakin 11 years ago
parent
commit
8b9688c375
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Sources/Profile.php

+ 0 - 1
Sources/Profile.php

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