aboutsummaryrefslogtreecommitdiffstats
path: root/profile.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-06-30 01:40:19 +0000
committerrvelices <rv-github@modusoptimus.com>2007-06-30 01:40:19 +0000
commit182a8f45dba58d6152034c496059cf21393bbbb8 (patch)
tree83eb508b150fd5d5e01ac2788028854c78b22bca /profile.php
parent12af0a00794d4624c4804eeef74fd207f474b002 (diff)
- fix help files
- feature 695 added action loc_user_profile_updated in profile.php - added event allow_increment_element_hit_count in picture.php git-svn-id: http://piwigo.org/svn/trunk@2048 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--profile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile.php b/profile.php
index 922f4c6d1..5b244edf2 100644
--- a/profile.php
+++ b/profile.php
@@ -194,7 +194,8 @@ function save_profile_from_post(&$userdata, &$errors)
array('primary' => array('user_id'), 'update' => $fields),
array($data));
- // redirection
+ trigger_action( 'loc_user_profile_updated', $_POST['userid'] );
+
if (!empty($_POST['redirect']))
{
redirect($_POST['redirect']);