Commit a7d14117 authored by Eugene Venter's avatar Eugene Venter
Browse files

Don't set default intro text on profile view install



Bug #809105

Change-Id: If2a2826f1386253fb9e88a6d76fb3616f8a1a21f
Signed-off-by: default avatarEugene Venter <eugene@catalyst.net.nz>
parent a185ceed
...@@ -529,7 +529,7 @@ class User { ...@@ -529,7 +529,7 @@ class User {
$configdata['artefactids'][] = $intro; $configdata['artefactids'][] = $intro;
} }
else { else {
$configdata['introtext'] = get_string('thisistheprofilepagefor', 'mahara', display_name($this, null, true)); $configdata['introtext'] = '';
} }
if ($this->get('profileicon')) { if ($this->get('profileicon')) {
$configdata['profileicon'] = $this->get('profileicon'); $configdata['profileicon'] = $this->get('profileicon');
......
...@@ -906,7 +906,6 @@ $string['Copyof'] = 'Copy of %s'; ...@@ -906,7 +906,6 @@ $string['Copyof'] = 'Copy of %s';
// Profile views // Profile views
$string['loggedinusersonly'] = 'Allow logged in users only'; $string['loggedinusersonly'] = 'Allow logged in users only';
$string['allowpublicaccess'] = 'Allow public access'; $string['allowpublicaccess'] = 'Allow public access';
$string['thisistheprofilepagefor'] = 'This is the profile page for %s';
$string['viewmyprofilepage'] = 'View profile page'; $string['viewmyprofilepage'] = 'View profile page';
$string['editmyprofilepage'] = 'Edit profile page'; $string['editmyprofilepage'] = 'Edit profile page';
$string['usersprofile'] = "%s's Profile"; $string['usersprofile'] = "%s's Profile";
......
Markdown is supported
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