diff options
-rw-r--r-- | lib/channel.php (renamed from classes/Channel.php) | 0 | ||||
-rw-r--r-- | lib/command.php (renamed from classes/Command.php) | 0 | ||||
-rw-r--r-- | lib/commandinterpreter.php (renamed from classes/CommandInterpreter.php) | 0 | ||||
-rw-r--r-- | lib/htmloutputter.php | 5 |
4 files changed, 2 insertions, 3 deletions
diff --git a/classes/Channel.php b/lib/channel.php index fdeff21fc..fdeff21fc 100644 --- a/classes/Channel.php +++ b/lib/channel.php diff --git a/classes/Command.php b/lib/command.php index eacbdacb3..eacbdacb3 100644 --- a/classes/Command.php +++ b/lib/command.php diff --git a/classes/CommandInterpreter.php b/lib/commandinterpreter.php index 0679f5462..0679f5462 100644 --- a/classes/CommandInterpreter.php +++ b/lib/commandinterpreter.php diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 45e61d2fc..06603ac05 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -101,9 +101,8 @@ class HTMLOutputter extends XMLOutputter $type = common_negotiate_type($cp, $sp); if (!$type) { - common_user_error(_('This page is not available in a '. - 'media type you accept'), 406); - exit(0); + throw new ClientException(_('This page is not available in a '. + 'media type you accept'), 406); } } |