diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/ContactMailServlet.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/ContactMailServlet.java index 895e2c230..18ccf5ddf 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/ContactMailServlet.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/ContactMailServlet.java @@ -50,12 +50,12 @@ public class ContactMailServlet extends VitroHttpServlet { return true; } - private String getSmtpHostFromProperties() { + public static String getSmtpHostFromProperties() { String host = ConfigurationProperties.getProperty("Vitro.smtpHost"); if (host != null && !host.equals("")) { - LOG.info("Found Vitro.smtpHost value of " + host); + LOG.debug("Found Vitro.smtpHost value of " + host); } else { - System.out.println("No Vitro.smtpHost specified"); + LOG.debug("No Vitro.smtpHost specified"); } return (host != null && host.length() > 0) ? host : null; } diff --git a/webapp/web/js/commentsForm.js b/webapp/web/js/commentsForm.js index 2f5a9f2ad..a6badb527 100644 --- a/webapp/web/js/commentsForm.js +++ b/webapp/web/js/commentsForm.js @@ -1,6 +1,4 @@ -/* $This file is distributed under the terms of the license in /doc/license.txt$ */ - - +