From 96333c7739ec6941aa06ca7d56e39f4e02e349f5 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Tue, 2 Aug 2005 13:07:21 +0000 Subject: [PATCH] Add simple redirectToMain as a shortcut. --- lib/dispatcher.inc.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/dispatcher.inc.php b/lib/dispatcher.inc.php index b032a8c..39ca21c 100644 --- a/lib/dispatcher.inc.php +++ b/lib/dispatcher.inc.php @@ -49,6 +49,10 @@ class KTDispatcher { return $this->errorRedirectTo('main', $error_message, $sQuery); } + function redirectToMain($sQuery = "") { + return $this->redirectTo('main', $sQuery); + } + function handleOutput($sOutput) { print $sOutput; } -- libgit2 0.21.4