setting to turn off expensive queries

This commit is contained in:
Evan Prodromou
2011-09-19 21:55:11 -04:00
parent b44bb472eb
commit ddf166e144
6 changed files with 29 additions and 13 deletions

View File

@@ -245,7 +245,7 @@ class PublicAction extends Action
$pop = new PopularNoticeSection($this);
$pop->show();
if (common_config('site', 'private')) {
if (common_config('performance', 'high')) {
$cloud = new PublicTagCloudSection($this);
$cloud->show();
}