mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +01:00
called for every app now, not only for the ones enabled for the user
This commit is contained in:
parent
818149f6bc
commit
c0377de6fd
@ -83,7 +83,11 @@
|
|||||||
$GLOBALS['hook_values']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id'];
|
$GLOBALS['hook_values']['account_id'] = $GLOBALS['phpgw_info']['user']['account_id'];
|
||||||
$GLOBALS['hook_values']['old_passwd'] = $o_passwd;
|
$GLOBALS['hook_values']['old_passwd'] = $o_passwd;
|
||||||
$GLOBALS['hook_values']['new_passwd'] = $n_passwd;
|
$GLOBALS['hook_values']['new_passwd'] = $n_passwd;
|
||||||
$GLOBALS['phpgw']->hooks->process('changepassword');
|
|
||||||
|
// called for every app now, not only for the ones enabled for the user
|
||||||
|
$GLOBALS['phpgw']->hooks->process($GLOBALS['hook_values']+array(
|
||||||
|
'location' => 'changepassword',
|
||||||
|
),False,True);
|
||||||
$GLOBALS['phpgw']->redirect_link('/preferences/index.php','cd=18');
|
$GLOBALS['phpgw']->redirect_link('/preferences/index.php','cd=18');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user