Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / hooks.php
index 03e3aa0aa09629ec336b2137931519243d283761..ccc0927a3bc10d4f17cc42a080a9fda97cbca7aa 100644 (file)
@@ -42,19 +42,5 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-// Call-back function for running shutdown functions and close database connection
-function __SHUTDOWN_HOOK () {
-       // Call the filter chain 'shutdown'
-       runFilterChain('shutdown', null, false);
-
-       if (SQL_IS_LINK_UP()) {
-               // Close link
-               SQL_CLOSE(__FILE__, __LINE__);
-       } elseif (!isInstalling()) {
-               // No database link
-               addFatalMessage(__FILE__, __LINE__, getMessage('NO_DB_LINK_SHUTDOWN'));
-       }
-}
-
 // [EOF]
 ?>