summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-22 14:55:00 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-22 14:55:00 -0400
commita39bb63ebdf1e1025abb5c506db2c0dd82a55773 (patch)
treecc3ce05909f0dd4a4648c7fe48d28d0f104f547c /actions/register.php
parent139fd492ff636581d525d576eead1796c37da155 (diff)
add tags on creation of notices and users
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index c67235f9d..fc729a29b 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -103,7 +103,8 @@ class RegisterAction extends Action {
$user->password = common_munge_password($password, $id);
$user->email = $email;
$user->created = DB_DataObject_Cast::dateTime(); # current time
-
+ $user->uri = common_mint_tag('user:'.$id);
+
$result = $user->insert();
if (!$result) {
# Try to clean up...