Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2008-12-19 15:42:07 (GMT)
committer David Farning <dfarning@gmail.com>2009-03-21 00:19:24 (GMT)
commitec21afa0e10ae7c0013a6b9fb064b5685ecbc047 (patch)
treeb1bab6e4b56b71cb2253662d1cbd9023013e02a5 /site
parent07ea10b10889d1d58ad1c9e61161088371ac269b (diff)
Dont look for install.rdf inside activity bundles
Diffstat (limited to 'site')
-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 3f6460a..d389b9d 100644
--- a/site/app/controllers/developers_controller.php
+++ b/site/app/controllers/developers_controller.php
@@ -444,7 +444,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')));