Added feature to withdraw approvals/rejections for STGL

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-02-17 18:54:53 +01:00
committed by cris-technikum
parent 577d0f1eb5
commit abcf41f7a3
6 changed files with 198 additions and 3 deletions
@@ -30,7 +30,7 @@ function getAuthPersonId()
function getAuthUID()
{
$ci =& get_instance(); // get CI instance
return 'martinek';
return isLogged() ? ($ci->authlib->getAuthObj())->{AuthLib::AO_USERNAME} : null;
}