From: Jan Schneider Date: Mon, 20 Sep 2010 10:30:11 +0000 (+0200) Subject: Fix setting auth and documentation. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b13cd375d8832bf7ae7ed16fe587476e7d4cd214;p=horde.git Fix setting auth and documentation. --- diff --git a/horde/bin/run_task b/horde/bin/run_task index f5379eada..e6719cf03 100755 --- a/horde/bin/run_task +++ b/horde/bin/run_task @@ -5,7 +5,8 @@ * * Usage: run_task -a [app] -t [taskname] -u [username] * Taskname is the name of the file in the application's SystemTask/Task - * directory - this script will automatically build the full class name. + * directory without the .php extension - this script will automatically + * build the full class name. * * Copyright 2010 The Horde Project (http://www.horde.org/) * @@ -59,7 +60,7 @@ if (empty($username)) { exit; } -Horde_Auth::setAuth($username, array()); +$registry->setAuth($username, array()); $registry->pushApp($app, array('check_perms' => false)); $class = $app . '_LoginTasks_SystemTask_' . $taskname;