Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2008-12-19 15:42:07 (GMT)
committer YOUR NAME <USER@develer.com>2009-02-11 18:51:22 (GMT)
commitdc7e505d8754e18deca3d0660f004c8ae129072a (patch)
treebfe7e643be3fc5ef7a10c5c7ac952f90813b78c2
parente75daee6c342b5a2ae624c3cddb27474472c1a6b (diff)
Dont look for install.rdf inside activity bundles
-rw-r--r--site/app/controllers/developers_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/controllers/developers_controller.php b/site/app/controllers/developers_controller.php
index 8711620..7234356 100644
--- a/site/app/controllers/developers_controller.php
+++ b/site/app/controllers/developers_controller.php
@@ -437,7 +437,7 @@ class DevelopersController extends AppController
}
// Parse install.rdf file if not a search plugin
- if ($addon['Addon']['addontype_id'] != ADDON_SEARCH) {
+ if (!in_array($addon['Addon']['addontype_id'], array(ADDON_SEARCH, ADDON_ACTIVITY))) {
// Extract install.rdf from xpi or jar
$zip = new Archive_Zip($addon['File']['details']['path']);
$extraction = $zip->extract(array('extract_as_string' => true, 'by_name' => array('install.rdf')));