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) {
|
public static void logMigrationScript(String oraStatement, String pgStatement) {
|
||||||
// Check AdempiereSys
|
// Check AdempiereSys
|
||||||
// check property Log migration script
|
// check property Log migration script
|
||||||
boolean logMigrationScript = false;
|
boolean logMigrationScript = Ini.isPropertyBool(Ini.P_LOGMIGRATIONSCRIPT);
|
||||||
if (Ini.isClient()) {
|
|
||||||
logMigrationScript = Ini.isPropertyBool(Ini.P_LOGMIGRATIONSCRIPT);
|
|
||||||
} else {
|
|
||||||
String sysProperty = System.getProperty(Ini.P_LOGMIGRATIONSCRIPT);
|
|
||||||
logMigrationScript = "y".equalsIgnoreCase(sysProperty) || "true".equalsIgnoreCase(sysProperty);
|
|
||||||
}
|
|
||||||
if (logMigrationScript) {
|
if (logMigrationScript) {
|
||||||
if (dontLog(oraStatement))
|
if (dontLog(oraStatement))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -88,16 +88,7 @@ public class MSequence extends X_AD_Sequence
|
||||||
int retValue = -1;
|
int retValue = -1;
|
||||||
|
|
||||||
// Check AdempiereSys
|
// Check AdempiereSys
|
||||||
boolean adempiereSys = false;
|
boolean adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS);
|
||||||
if (Ini.isClient())
|
|
||||||
{
|
|
||||||
adempiereSys = Ini.isPropertyBool(Ini.P_ADEMPIERESYS);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
String sysProperty = System.getProperty(Ini.P_ADEMPIERESYS);
|
|
||||||
adempiereSys = "y".equalsIgnoreCase(sysProperty) || "true".equalsIgnoreCase(sysProperty);
|
|
||||||
}
|
|
||||||
if (adempiereSys && AD_Client_ID > 11)
|
if (adempiereSys && AD_Client_ID > 11)
|
||||||
adempiereSys = false;
|
adempiereSys = false;
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue