blob: 0316314e16c1611573d6167575d63527f72e19c8 [file] [log] [blame]
package mailreader2.registration;
import mailreader2.MailreaderSupport;
import org.apache.struts.apps.mailreader.dao.User;
/**
* <p>Base class to store shared methods.</p>
*/
public class Support extends MailreaderSupport {
/**
* <p>Double check that there is not a valid User logon. </p>
*
* @return True if there is not a valid User logon
*/
protected boolean isCreating() {
User user = getUser();
return (null == user) || (null == user.getDatabase());
}
}