aboutsummaryrefslogtreecommitdiffstats
path: root/include/block.class.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
committermistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
commit4bd32005b56f6ec741ceeed0a1745fe89f291085 (patch)
treee2ee9bb68d07822bb7c0122831a0ce313a5af2d2 /include/block.class.php
parentf98edc7a2e423bed534977107e4cb892180cb946 (diff)
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/block.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/block.class.php b/include/block.class.php
index 3cb0b7021..cce92ec4e 100644
--- a/include/block.class.php
+++ b/include/block.class.php
@@ -49,7 +49,7 @@ class BlockManager
*/
public function load_registered_blocks()
{
- trigger_action('blockmanager_register_blocks', array($this));
+ trigger_notify('blockmanager_register_blocks', array($this));
}
/**
@@ -110,7 +110,7 @@ class BlockManager
$idx++;
}
$this->sort_blocks();
- trigger_action('blockmanager_prepare_display', array($this));
+ trigger_notify('blockmanager_prepare_display', array($this));
$this->sort_blocks();
}
@@ -191,7 +191,7 @@ class BlockManager
global $template;
$template->set_filename('menubar', $file);
- trigger_action('blockmanager_apply', array($this) );
+ trigger_notify('blockmanager_apply', array($this) );
foreach ($this->display_blocks as $id=>$block)
{