mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-14 07:36:29 +02:00
MailTransport refactoring
This commit is contained in:
parent
7a54a35b00
commit
9082b161de
5 changed files with 44 additions and 239 deletions
|
@ -203,7 +203,7 @@ sub handler {
|
|||
#we need this to get $R::sessionid to FormEdit
|
||||
#if(length($coo) > 20 && !$q->cookie(-name=>'domcookie')){
|
||||
($api_return,$users_sharee) = $apif->auth_verify($q,$author->{authcookie},"");
|
||||
if($R::failure =~ /\w+/ || ($users_sharee->{txt31} && $users_sharee->{txt31} =~ /\w/)){
|
||||
if(($returnwww && $returnwww =~ /\w+/) || ($users_sharee->{txt31} && $users_sharee->{txt31} =~ /\w/)){
|
||||
print redirect("$varenv{wwwhost}/$varenv{mandant}/Account/$varenv{accounting_1}?sessionid=$coo");
|
||||
exit 0;
|
||||
}else{
|
||||
|
@ -456,7 +456,7 @@ sub handler {
|
|||
$dbt->update_one($dbh,$update_adr,"int12=$vde_on_fail");#Vde
|
||||
}
|
||||
|
||||
$tk->emailack($users_sharee->{c_id}) if($users_sharee->{int04} != 1);
|
||||
#$tk->emailack($users_sharee->{c_id}) if($users_sharee->{int04} != 1);
|
||||
$dbt->update_operatorsloop($varenv{dbname},$users_sharee->{c_id},"update");
|
||||
|
||||
print redirect("$varenv{wwwhost}/$varenv{mandant}/$varenv{profile}?$returnwww$session_and");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue