summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/controllers/gallery_unit_test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 07:15:00 +0800
committerGallery Role Account <gallery@menalto.com>2009-05-28 11:07:09 +0800
commit4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch)
tree6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery_unit_test/controllers/gallery_unit_test.php
parent3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (diff)
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs. Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery_unit_test/controllers/gallery_unit_test.php')
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php
index 5206f9fb..c9aa0ddc 100644
--- a/modules/gallery_unit_test/controllers/gallery_unit_test.php
+++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php
@@ -96,15 +96,15 @@ class Gallery_Unit_Test_Controller extends Controller {
$db->clear_cache();
// Install all modules
- // Force core and user to be installed first to resolve dependencies.
- core_installer::install(true);
+ // Force gallery and user to be installed first to resolve dependencies.
+ gallery_installer::install(true);
module::load_modules();
module::install("user");
module::activate("user");
$modules = array();
foreach (glob(MODPATH . "*/helpers/*_installer.php") as $file) {
$module_name = basename(dirname(dirname($file)));
- if (in_array($module_name, array("core", "user"))) {
+ if (in_array($module_name, array("gallery", "user"))) {
continue;
}
module::install($module_name);