Fixing left-over PHP session adapter static calls.