Fix shutdown function name
authorChuck Hagenbuch <chuck@horde.org>
Fri, 13 Nov 2009 20:42:56 +0000 (15:42 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Fri, 13 Nov 2009 20:42:56 +0000 (15:42 -0500)
framework/Cli/lib/Horde/Cli.php

index a47d71d..8ff8b5c 100644 (file)
@@ -185,7 +185,7 @@ class Horde_Cli
         // We really want to call this at the end of the script, not in the
         // destructor.
         if ($this->_console) {
-            register_shutdown_function(array($this, '_shutdown'));
+            register_shutdown_function(array($this, 'shutdown'));
         }
     }