removed logger
This commit is contained in:
parent
833d37b632
commit
92024aa0d9
|
@ -15,7 +15,6 @@ import com.liferay.portal.util.PortalUtil;
|
||||||
* @author massi
|
* @author massi
|
||||||
*/
|
*/
|
||||||
public class UpdateTermsOfUseAction extends BaseStrutsAction {
|
public class UpdateTermsOfUseAction extends BaseStrutsAction {
|
||||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(UpdateTermsOfUseAction.class);
|
|
||||||
public String execute(StrutsAction originalStrutsAction, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
public String execute(StrutsAction originalStrutsAction, HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||||
String agreement = request.getParameter("agreement");
|
String agreement = request.getParameter("agreement");
|
||||||
if (agreement.compareTo("i-disagree")==0) { //the user did not agree
|
if (agreement.compareTo("i-disagree")==0) { //the user did not agree
|
||||||
|
@ -23,7 +22,7 @@ public class UpdateTermsOfUseAction extends BaseStrutsAction {
|
||||||
try {
|
try {
|
||||||
D4ScienceRemoveAccountManager removeAccountManager = new D4ScienceRemoveAccountManager(user.getScreenName());
|
D4ScienceRemoveAccountManager removeAccountManager = new D4ScienceRemoveAccountManager(user.getScreenName());
|
||||||
removeAccountManager.doAsyncRemoveAccount();
|
removeAccountManager.doAsyncRemoveAccount();
|
||||||
_log.info("*** UpdateTermsOfUseAction user DID NOT AGREE, removeUser account for username=" + user.getScreenName() + " done with success, notified also the managers ... ");
|
System.out.println("*** UpdateTermsOfUseAction user DID NOT AGREE, removeUser account for username=" + user.getScreenName() + " done with success, notified also the managers ... ");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue