Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/controllers/addons_controller.php
diff options
context:
space:
mode:
authorrdoherty@mozilla.com <rdoherty@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2008-12-03 19:31:22 (GMT)
committer rdoherty@mozilla.com <rdoherty@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2008-12-03 19:31:22 (GMT)
commit07175d5b9560bd99e0451e7f60720ee6f5facc99 (patch)
tree5c19b0c501616a4ad5eef43e41952e1f898bb738 /site/app/controllers/addons_controller.php
parente0f33d94ee54b20e257fb4b7fa912f48dd57377f (diff)
bug 437150, backing out previous changes
git-svn-id: http://svn.mozilla.org/addons/trunk@20416 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/controllers/addons_controller.php')
-rw-r--r--site/app/controllers/addons_controller.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/site/app/controllers/addons_controller.php b/site/app/controllers/addons_controller.php
index 6b12f76..77e7a35 100644
--- a/site/app/controllers/addons_controller.php
+++ b/site/app/controllers/addons_controller.php
@@ -150,9 +150,7 @@ class AddonsController extends AppController
$this->publish('hasversion', true);
$compat_apps = $this->Version->getCompatibleApps($_latest_version);
$this->publish('compatible_apps', array_slice($compat_apps, 0, 1));
- }
-
- $addon_data['Addon']['recommended'] = $this->Addon->is_recommended($addon_data['Addon']['id']);
+ }
$this->publish('previews', $this->Preview->findAllByAddonId($id, array('id', 'addon_id', 'caption'), 'highlight desc'));