Chatgpt says to try this:
DATE_FORMAT(FROM_UNIXTIME(cc.timestarted), '%d-%m-%y') AS coursedate,
DATE_FORMAT(
DATE_ADD(FROM_UNIXTIME(cc.timestarted), INTERVAL 364 DAY),
'%d-%m-%y'
) AS renewal
Chatgpt says to try this:
DATE_FORMAT(FROM_UNIXTIME(cc.timestarted), '%d-%m-%y') AS coursedate,
DATE_FORMAT(
DATE_ADD(FROM_UNIXTIME(cc.timestarted), INTERVAL 364 DAY),
'%d-%m-%y'
) AS renewal
So your main problem with saml2 is that it is not listed on the login page? Have you reached out to the developer? Have you tried it without the config file change?
I am a little confused. Why wouldn't you just keep moodle in the original subdir and then your symlink should just go to subdir/public?