diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2013-10-16 16:32:40 +0200 | 
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2013-10-16 16:32:40 +0200 | 
| commit | 3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad (patch) | |
| tree | 4f20a28e18982eb2b40e5258f09b124c11f11ef2 | |
| parent | e04a06ab94ed5057ae050c48a14eba3b5ee99459 (diff) | |
| download | forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.gz forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.bz2 forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.xz forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.zip  | |
[ticket/11924] Fix some minor issues with the php event docs
PHPBB3-11924
| -rw-r--r-- | phpBB/includes/acp/acp_forums.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/functions.php | 12 | ||||
| -rw-r--r-- | phpBB/includes/ucp/ucp_zebra.php | 2 | ||||
| -rw-r--r-- | phpBB/posting.php | 2 | 
4 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php index 258aabcc0d..029f4b23c9 100644 --- a/phpBB/includes/acp/acp_forums.php +++ b/phpBB/includes/acp/acp_forums.php @@ -1470,7 +1470,7 @@ class acp_forums  		/**  		* Event when we move content from one forum to another  		* -		* @event core.acp_manage_forums_move_children +		* @event core.acp_manage_forums_move_content  		* @var	int		from_id		If of the current parent forum  		* @var	int		to_id		If of the new parent forum  		* @var	bool	sync		Shall we sync the "to"-forum's data diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 947e29ea02..a077dd4078 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5609,14 +5609,14 @@ function garbage_collection()  	global $cache, $db;  	global $phpbb_dispatcher; -	/** -	* Unload some objects, to free some memory, before we finish our task -	* -	* @event core.garbage_collection -	* @since 3.1-A1 -	*/  	if (!empty($phpbb_dispatcher))  	{ +		/** +		* Unload some objects, to free some memory, before we finish our task +		* +		* @event core.garbage_collection +		* @since 3.1-A1 +		*/  		$phpbb_dispatcher->dispatch('core.garbage_collection');  	} diff --git a/phpBB/includes/ucp/ucp_zebra.php b/phpBB/includes/ucp/ucp_zebra.php index 6bb3cdc145..090f9bf34c 100644 --- a/phpBB/includes/ucp/ucp_zebra.php +++ b/phpBB/includes/ucp/ucp_zebra.php @@ -64,7 +64,7 @@ class ucp_zebra  						* @var	array	user_ids	User ids we remove  						* @since 3.1-A1  						*/ -						$vars = array('user_ids'); +						$vars = array('mode', 'user_ids');  						extract($phpbb_dispatcher->trigger_event('core.ucp_remove_zebra', compact($vars)));  						$sql = 'DELETE FROM ' . ZEBRA_TABLE . ' diff --git a/phpBB/posting.php b/phpBB/posting.php index 396b320eac..e29b74af65 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1525,7 +1525,7 @@ $template->assign_vars(array(  * @event core.posting_modify_template_vars  * @since 3.1-A1  */ -$phpbb_dispatcher->trigger_event('core.posting_modify_template_vars'); +$phpbb_dispatcher->dispatch('core.posting_modify_template_vars');  // Build custom bbcodes array  display_custom_bbcodes();  | 
