From b96959c48253d07d01874e736726fb9595c0bee9 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Mon, 17 May 2010 22:21:53 -0400 Subject: [PATCH] Mnemo: Horde_Cli::singleton() doesn't exist anymore --- mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php b/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php index 9a197c5b2..15c2f504e 100755 --- a/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php +++ b/mnemo/scripts/upgrades/convert_datatree_shares_to_sql.php @@ -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 */ -- 2.11.0