summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/block_manager.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-27 16:15:00 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-27 16:17:29 -0700
commit88a3d43ba9b9377ba6bbe21a4547220ae3a37276 (patch)
treebcdfaa4188a7e9a8e698c895f84f0ca899005391 /modules/gallery/helpers/block_manager.php
parent12fe58d997d2066dc362fd393a18b4e5da190513 (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.
Diffstat (limited to 'modules/gallery/helpers/block_manager.php')
-rw-r--r--modules/gallery/helpers/block_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/block_manager.php b/modules/gallery/helpers/block_manager.php
index 022626e5..20b641d4 100644
--- a/modules/gallery/helpers/block_manager.php
+++ b/modules/gallery/helpers/block_manager.php
@@ -19,11 +19,11 @@
*/
class block_manager_Core {
static function get_active($location) {
- return unserialize(module::get_var("core", "blocks_$location", "a:0:{}"));
+ return unserialize(module::get_var("gallery", "blocks_$location", "a:0:{}"));
}
static function set_active($location, $blocks) {
- module::set_var("core", "blocks_$location", serialize($blocks));
+ module::set_var("gallery", "blocks_$location", serialize($blocks));
}
static function add($location, $module_name, $block_id) {