bug 1176: Ensure we have a database connection
bug 1176: Don't clean up the MySQL connection when doing session cleanup
bug 1176: Fix deprecation of split function in general.php
bug 1176: User ID not always initialized properly
bug 1176: Ensure that the notary table to show was given before determining which one
bug 1176: Avoid unsetting the CSRF Hashes from the session when doing cert login
bug 1176: Fix Syntax issue of last patch
bug 1176: Kill user session when profile array missing or not properly initialized
bug 1176: Fix some syntax errors
bug 1176: Check for the profile being set prior to checking it to be an array.
bug 1176: Set to empty string rather than unset to avoid warning on undefined variable
bug 1176: Fix yet another stupid piece of legacy code begging to cause trouble