diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 13:05:44 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 13:05:44 +0000 |
commit | a8d7ea23f8868aa70dd6fe87482e3b860e0b615f (patch) | |
tree | d05bc4749587fcd8141d70d5c1ca505793150ac2 /mod/profile/actions | |
parent | 114bf6e56152d407f660cf5060972f3bfa4fd8ff (diff) | |
download | elgg-a8d7ea23f8868aa70dd6fe87482e3b860e0b615f.tar.gz elgg-a8d7ea23f8868aa70dd6fe87482e3b860e0b615f.tar.bz2 |
Moves access permissions references over to using the ACCESS_* constants defined in access.php. Refs #687
git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/actions')
-rw-r--r-- | mod/profile/actions/edit.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/profile/actions/edit.php b/mod/profile/actions/edit.php index 76ea28159..e7f307756 100644 --- a/mod/profile/actions/edit.php +++ b/mod/profile/actions/edit.php @@ -44,7 +44,7 @@ if (isset($accesslevel[$shortname])) {
$access_id = (int) $accesslevel[$shortname];
} else {
- $access_id = 0;
+ $access_id = ACCESS_PRIVATE;
}
if (is_array($value)) {
$i = 0;
@@ -59,10 +59,10 @@ }
$user->save();
- - // Notify of profile update - trigger_elgg_event('profileupdate',$user->type,$user); - +
+ // Notify of profile update
+ trigger_elgg_event('profileupdate',$user->type,$user);
+
system_message(elgg_echo("profile:saved"));
|