if you do sth for old times' sake, you do it because it is connected with sth good that happened to you in the past
if you do sth for old times' sake, you do it because it is connected with sth good that happened to you in the past
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition