- fixed cookie too down to the screen
- fix verified: if Telegram OK is not necessary the email verification. - contribtype fix
This commit is contained in:
@@ -872,6 +872,33 @@ async function eseguiDbOp(idapp, mydata, locale) {
|
||||
|
||||
populate.rewriteTable('contribtypes');
|
||||
|
||||
} else if (mydata.dbop === 'copyFrom1To13') {
|
||||
const idapporig = 1;
|
||||
const idappdest = 13;
|
||||
if (!idapporig || !idappdest)
|
||||
return;
|
||||
|
||||
const globalTables = require('../tools/globalTables');
|
||||
|
||||
const mytablesstr = ['settings', 'users', 'templemail', 'contribtypes'];
|
||||
|
||||
try {
|
||||
let numrectot = 0;
|
||||
for (const table of mytablesstr) {
|
||||
const mytable = globalTables.getTableByTableName(table);
|
||||
|
||||
tools.mylogshow('copyfromapptoapp: ', table, mytable);
|
||||
|
||||
await mytable.DuplicateAllRecords(idapporig, idappdest).
|
||||
then((numrec) => {
|
||||
// tools.mylogshow(' REC TO MODIFY: ', rec);
|
||||
numrectot += numrec
|
||||
});
|
||||
}
|
||||
}catch (e){
|
||||
console.log('e', e);
|
||||
}
|
||||
|
||||
} else if (mydata.dbop === 'emptyDbSkill') {
|
||||
|
||||
const {Sector} = require('../models/sector');
|
||||
|
||||
Reference in New Issue
Block a user