Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/controllers/images_controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/controllers/images_controller.php')
-rw-r--r--site/app/controllers/images_controller.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/site/app/controllers/images_controller.php b/site/app/controllers/images_controller.php
index b25ec59..d20353d 100644
--- a/site/app/controllers/images_controller.php
+++ b/site/app/controllers/images_controller.php
@@ -22,7 +22,6 @@
* Contributor(s):
* Andrei Hajdukewycz <sancus@off.net> (Original Author)
* Justin Scott <fligtar@mozilla.com>
- * Frederic Wenzel <fwenzel@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -40,7 +39,7 @@
class ImagesController extends AppController
{
var $name = 'Images';
- var $uses = array('Addon', 'Collection', 'Preview');
+ var $uses = array('Addon', 'Preview');
var $components = array('Image');
var $autoRender = false;
@@ -69,22 +68,6 @@ class ImagesController extends AppController
}
/**
- * Renders the icon for the specified add-on
- * @param int $addon_id ID of the add-on
- * @param int $timestamp timestamp of last update (optional)
- * @param bool $cache whether to memcache or not (optional)
- */
- function collection_icon($collection_id, $timestamp = '', $cache = true) {
- if ($cache !== true) {
- $this->Collection->caching = false;
- }
-
- if (!empty($collection_id)) {
- $this->Image->renderCollectionIcon($collection_id);
- }
- }
-
- /**
* Renders the full-size preview with the ID specified
* @param int $preview_id ID of the preview to render
* @param int $timestamp timestamp of last update (optional)