We only want real applications.
authorJan Schneider <jan@horde.org>
Thu, 4 Feb 2010 16:52:07 +0000 (17:52 +0100)
committerJan Schneider <jan@horde.org>
Thu, 4 Feb 2010 16:52:07 +0000 (17:52 +0100)
horde/bin/db_migrate

index 15d1b04..f405064 100755 (executable)
@@ -23,7 +23,7 @@ if (empty($args[0])) {
     $cli->fatal("An application argument is required");
 }
 $app = $args[0];
-if (!in_array($app, $GLOBALS['registry']->listApps('inactive', 'hidden', 'notoolbar', 'heading', 'block', 'admin', 'active'))) {
+if (!in_array($app, $GLOBALS['registry']->listApps('inactive', 'hidden', 'notoolbar', 'admin', 'active'))) {
     $cli->fatal("$app is not a configured Horde application");
 }
 $action = 'up';