mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
added addaccount-hook for auto created accounts
This commit is contained in:
parent
e6b2a034e5
commit
893c085f78
@ -1047,6 +1047,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->db->transaction_commit();
|
$this->db->transaction_commit();
|
||||||
|
|
||||||
|
$GLOBALS['hook_values']['account_lid'] = $acct_info['account_lid'];
|
||||||
|
$GLOBALS['hook_values']['account_id'] = $accountid;
|
||||||
|
$GLOBALS['hook_values']['new_passwd'] = $acct_info['account_passwd'];
|
||||||
|
$GLOBALS['hook_values']['account_status'] = $acct_info['account_status'];
|
||||||
|
$GLOBALS['phpgw']->hooks->process($GLOBALS['hook_values']+array(
|
||||||
|
'location' => 'addaccount'
|
||||||
|
),False,True); // called for every app now, not only enabled ones
|
||||||
|
|
||||||
return $accountid;
|
return $accountid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -445,6 +445,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->db->transaction_commit();
|
$this->db->transaction_commit();
|
||||||
|
|
||||||
|
$GLOBALS['hook_values']['account_lid'] = $acct_info['account_lid'];
|
||||||
|
$GLOBALS['hook_values']['account_id'] = $accountid;
|
||||||
|
$GLOBALS['hook_values']['new_passwd'] = $acct_info['account_passwd'];
|
||||||
|
$GLOBALS['hook_values']['account_status'] = $acct_info['account_status'];
|
||||||
|
$GLOBALS['phpgw']->hooks->process($GLOBALS['hook_values']+array(
|
||||||
|
'location' => 'addaccount'
|
||||||
|
),False,True); // called for every app now, not only enabled ones
|
||||||
|
|
||||||
return $accountid;
|
return $accountid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user