Commit 6a85358b authored by Penny Leach's avatar Penny Leach
Browse files

removed an unnecessary line

parent 6460fa9a
......@@ -163,7 +163,6 @@ function set_profile_field($userid, $field, $value) {
safe_require('artefact', 'internal');
$classname = generate_artefact_class_name($field);
$profile = new $classname(0, array('owner' => $userid));
$profile->set('owner', $userid);
$profile->set('title', $value);
$profile->commit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment