Don't redirect to tag cloud on /tag URL

(this is probably just while we pluginify TagCloud)
This commit is contained in:
Mikael Nordfeldth 2016-08-27 15:06:12 +02:00
parent 27022e7c39
commit 5a008c3738
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class TagAction extends ManagedAction
$this->tag = common_canonical_tag($taginput);
if (empty($this->tag)) {
common_redirect(common_local_url('publictagcloud'), 301);
throw new ClientException(_('No valid tag data.'));
}
// after common_canonical_tag we have a lowercase, no-specials tag string