Mnemo: Horde_Cli::singleton() doesn't exist anymore
authorBen Klang <ben@alkaloid.net>
Tue, 18 May 2010 02:21:53 +0000 (22:21 -0400)
committerBen Klang <ben@alkaloid.net>
Tue, 18 May 2010 02:21:53 +0000 (22:21 -0400)
mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php

index 9a197c5..15c2f50 100755 (executable)
@@ -9,14 +9,15 @@
  */
 
 @define('AUTH_HANDLER', true);
-@define('HORDE_BASE', dirname(__FILE__) . '/../../..');
+//@define('HORDE_BASE', dirname(__FILE__) . '/../../..');
+@define('HORDE_BASE', '/srv/vhost/users/bklang/sites/intranet.alkaloid.net');
 
 /* Set up the CLI environment */
 require_once HORDE_BASE . '/lib/core.php';
 if (!Horde_Cli::runningFromCli()) {
     exit("Must be run from the command line\n");
 }
-$cli = &Horde_Cli::singleton();
+$cli = new Horde_Cli;
 $cli->init();
 
 /* Grab what we need to steal the DB config */