aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-07-09 16:41:59 +0000
committerplegall <plg@piwigo.org>2013-07-09 16:41:59 +0000
commit80fc1c2f96575eb8aee1092a04fbbc42b056d4e1 (patch)
tree415c8e0e7d6f2f0f926fc55d24e03aa66f88ff00 /include/functions.inc.php
parenta1b66d8a3325043ff5d2a3eb4788b4f06c8e6392 (diff)
feature 2941: add trigger on get_webmaster_mail_address
git-svn-id: http://piwigo.org/svn/trunk@23887 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 560bc5a4b..59136afbd 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -983,6 +983,8 @@ SELECT '.$conf['user_fields']['email'].'
;';
list($email) = pwg_db_fetch_row(pwg_query($query));
+ $email = trigger_event('get_webmaster_mail_address', $email);
+
return $email;
}