diff --git a/migration/i1.0c-release/oracle/201307302339_IDEMPIERE-840.sql b/migration/i1.0c-release/oracle/201307302339_IDEMPIERE-840.sql new file mode 100644 index 0000000000..a5424fd7a7 --- /dev/null +++ b/migration/i1.0c-release/oracle/201307302339_IDEMPIERE-840.sql @@ -0,0 +1,7 @@ +-- Jul 30, 2013 11:33:11 PM SGT +-- IDEMPIERE-840 Improvement to Request model class +DELETE FROM AD_ModelValidator WHERE AD_ModelValidator_ID=200003 +; + +SELECT register_migration_script('201307302339_IDEMPIERE-840.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i1.0c-release/postgresql/201307302339_IDEMPIERE-840.sql b/migration/i1.0c-release/postgresql/201307302339_IDEMPIERE-840.sql new file mode 100644 index 0000000000..a5424fd7a7 --- /dev/null +++ b/migration/i1.0c-release/postgresql/201307302339_IDEMPIERE-840.sql @@ -0,0 +1,7 @@ +-- Jul 30, 2013 11:33:11 PM SGT +-- IDEMPIERE-840 Improvement to Request model class +DELETE FROM AD_ModelValidator WHERE AD_ModelValidator_ID=200003 +; + +SELECT register_migration_script('201307302339_IDEMPIERE-840.sql') FROM dual +; \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/RequestValidator.java b/org.adempiere.base/src/org/compiere/model/RequestValidator.java deleted file mode 100644 index bca5aaa40d..0000000000 --- a/org.adempiere.base/src/org/compiere/model/RequestValidator.java +++ /dev/null @@ -1,57 +0,0 @@ -/****************************************************************************** - * Copyright (C) 2013 Elaine Tan * - * Copyright (C) 2013 Trek Global - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - *****************************************************************************/ - -package org.compiere.model; - - -/** - * - * @author Elaine - * - */ -public class RequestValidator implements ModelValidator -{ - private int m_AD_Client_ID; - - @Override - public void initialize(ModelValidationEngine engine, MClient client) - { - if (client != null) - m_AD_Client_ID = client.getAD_Client_ID(); - } - - @Override - public int getAD_Client_ID() - { - return m_AD_Client_ID; - } - - @Override - public String login(int AD_Org_ID, int AD_Role_ID, int AD_User_ID) - { - return null; - } - - @Override - public String modelChange(PO po, int type) throws Exception - { - return null; - } - - @Override - public String docValidate(PO po, int timing) - { - return null; - } -}