Resolve duplication of code.
Resolve duplication of code.

madmatt/simplesamlphp,dzuelke/simplesamlphp,sitya/simplesamlphp,grnet/simplesamlphp,BrettMerrick/simplesamlphp,cwaldbieser/simplesamlphp,madmatt/simplesamlphp,jschlyter/simplesamlphp,madmatt/simplesamlphp,shoaibali/simplesamlphp,shoaibali/simplesamlphp,dnmvisser/simplesamlphp,sitya/simplesamlphp,simplesamlphp/simplesamlphp,maytechnet/simplesamlphp,grnet/simplesamlphp,ghalse/simplesamlphp,madmatt/simplesamlphp,dzuelke/simplesamlphp,shoaibali/simplesamlphp,grnet/simplesamlphp,jschlyter/simplesamlphp,sitya/simplesamlphp,gtkrug/simplesamlphp,BrettMerrick/simplesamlphp,BrettMerrick/simplesamlphp,BrettMerrick/simplesamlphp,ghalse/simplesamlphp,cwaldbieser/simplesamlphp,ghalse/simplesamlphp,cwaldbieser/simplesamlphp,dnmvisser/simplesamlphp,dnmvisser/simplesamlphp,jschlyter/simplesamlphp,sitya/simplesamlphp,simplesamlphp/simplesamlphp,gtkrug/simplesamlphp,jschlyter/simplesamlphp,dzuelke/simplesamlphp,grnet/simplesamlphp,maytechnet/simplesamlphp,ghalse/simplesamlphp,dzuelke/simplesamlphp,maytechnet/simplesamlphp,simplesamlphp/simplesamlphp,gtkrug/simplesamlphp,shoaibali/simplesamlphp,dnmvisser/simplesamlphp,jschlyter/simplesamlphp,gtkrug/simplesamlphp,cwaldbieser/simplesamlphp,simplesamlphp/simplesamlphp,maytechnet/simplesamlphp