Revert changeset 6f7e1d47b072 for IDEMPIERE-187 Support developer to generate migration script from webui
This commit is contained in:
parent
0978af9a56
commit
838904b961
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue