Skip to content

Commit

Permalink
Use module::install and module::activate for the gallery module as
Browse files Browse the repository at this point in the history
well; I've verified that it generates the same installer files.
  • Loading branch information
bharat committed Aug 6, 2010
1 parent 8559cdb commit 0fe44fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/gallery/controllers/packager.php
Expand Up @@ -59,11 +59,7 @@ private function _reset() {
// numbers, keeping our install.sql file more stable.
srand(0);

gallery_installer::install(true);

module::load_modules();

foreach (array("user", "comment", "organize", "info", "rest",
foreach (array("gallery", "user", "comment", "organize", "info", "rest",
"rss", "search", "slideshow", "tag") as $module_name) {
module::install($module_name);
module::activate($module_name);
Expand Down

0 comments on commit 0fe44fe

Please sign in to comment.