mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +02:00
text-cms init and return feedb change
This commit is contained in:
parent
c1fe6c235c
commit
a61920988c
23 changed files with 267 additions and 408 deletions
|
@ -142,7 +142,7 @@ sub save_account(){
|
|||
my $c_id = shift;
|
||||
my $varmerch = shift || "";
|
||||
my $owner = shift || 0;
|
||||
|
||||
my $feedb = { message => "" };
|
||||
my $table = "contentadr";
|
||||
$q = new CGI;
|
||||
$q->import_names('R');
|
||||
|
@ -567,13 +567,14 @@ sub save_account(){
|
|||
$ret = $ret_conflict if($ret_conflict);
|
||||
print FILE "final ret: $ret \n" if($debug);
|
||||
|
||||
close(FILE) if($debug);
|
||||
|
||||
#if(!$ret){#we do it also on failures to get sync
|
||||
#update operator with primary data after COPRI address edit
|
||||
$dbt->update_operatorsloop($varenv{dbname},$ctadr->{c_id},"update");
|
||||
|
||||
return ($ret,"$i_rows-$u_rows-$d_rows");
|
||||
$feedb->{u_rows} = $u_rows;
|
||||
print FILE Dumper($feedb) . "\n" if($debug);
|
||||
close(FILE) if($debug);
|
||||
return ($ret,$feedb);
|
||||
}
|
||||
|
||||
#insert/save/delete DMS users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue