Revert changeset 6f7e1d47b072 for IDEMPIERE-187 Support developer to generate migration script from webui

This commit is contained in:
Heng Sin Low 2012-03-19 01:02:49 +08:00
parent 0978af9a56
commit 838904b961
2 changed files with 2 additions and 17 deletions

View File

@ -435,13 +435,7 @@ public abstract class Convert
public static void logMigrationScript(String oraStatement, String pgStatement) {
// Check AdempiereSys
// check property Log migration script
boolean logMigrationScript = false;
if (Ini.isClient()) {
logMigrationScript = Ini.isPropertyBool(Ini.P_LOGMIGRATIONSCRIPT);
} else {
String sysProperty = System.getProperty(Ini.P_LOGMIGRATIONSCRIPT);
logMigrationScript = "y".equalsIgnoreCase(sysProperty) || "true".equalsIgnoreCase(sysProperty);
}
boolean logMigrationScript = Ini.isPropertyBool(Ini.P_LOGMIGRATIONSCRIPT);
if (logMigrationScript) {
if (dontLog(oraStatement))
return;

View File

@ -88,16 +88,7 @@ public class MSequence extends X_AD_Sequence
int retValue = -1;
// Check AdempiereSys
boolean adempiereSys = false;
if (Ini.isClient())
{
adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS);
}
else
{
String sysProperty = System.getProperty(Ini.P_ADEMPIERESYS);
adempiereSys = "y".equalsIgnoreCase(sysProperty) || "true".equalsIgnoreCase(sysProperty);
}
boolean adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS);
if (adempiereSys && AD_Client_ID > 11)
adempiereSys = false;
//