aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-08-20 10:14:07 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-08-20 10:14:07 +0200
commit897b9f333bf2ee05d8c4e371d2b324d255fbfd5e (patch)
treeb0a8755f9d81da687cd869bbfed7918c61fa229c /phpBB/phpbb
parentcf0170d5e38117cf256d45a6c0164ea76b3887bc (diff)
downloadforums-897b9f333bf2ee05d8c4e371d2b324d255fbfd5e.tar
forums-897b9f333bf2ee05d8c4e371d2b324d255fbfd5e.tar.gz
forums-897b9f333bf2ee05d8c4e371d2b324d255fbfd5e.tar.bz2
forums-897b9f333bf2ee05d8c4e371d2b324d255fbfd5e.tar.xz
forums-897b9f333bf2ee05d8c4e371d2b324d255fbfd5e.zip
[ticket/14037] Minor coding style improvements to event
PHPBB3-14037
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/profilefields/manager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/profilefields/manager.php b/phpBB/phpbb/profilefields/manager.php
index 822b81e0ad..ea4b24af56 100644
--- a/phpBB/phpbb/profilefields/manager.php
+++ b/phpBB/phpbb/profilefields/manager.php
@@ -284,6 +284,7 @@ class manager
}
$profile_cache = $this->profile_cache;
+
/**
* Event to modify template headlines of the generated profile fields
*
@@ -299,6 +300,7 @@ class manager
'profile_cache',
);
extract($this->dispatcher->trigger_event('core.generate_profile_fields_template_headlines', compact($vars)));
+ unset($profile_cache);
return $tpl_fields;
}