diff --git a/workflow/engine/methods/authSources/authSources_Delete.php b/workflow/engine/methods/authSources/authSources_Delete.php index 05c580c24..08b439be2 100755 --- a/workflow/engine/methods/authSources/authSources_Delete.php +++ b/workflow/engine/methods/authSources/authSources_Delete.php @@ -1,32 +1,31 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ -global $RBAC; -if ($RBAC->userCanAccess('PM_SETUP_ADVANCE') != 1) { - G::SendTemporalMessage('ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels'); - G::header('location: ../login/login'); - die; -} - -$RBAC->removeAuthSource($_POST['AUTH_SOURCE_UID']); \ No newline at end of file +. + * + * For more information, contact Colosa Inc, 2566 Le Jeune Rd., + * Coral Gables, FL, 33134, USA, or email info@colosa.com. + */ +global $RBAC; +if ($RBAC->userCanAccess( 'PM_SETUP_ADVANCE' ) != 1) { + G::SendTemporalMessage( 'ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels' ); + G::header( 'location: ../login/login' ); + die(); +} + +$RBAC->removeAuthSource( $_POST['AUTH_SOURCE_UID'] ); \ No newline at end of file