Simplify about field conversion to plaintext in Protocol\Diaspora
This commit is contained in:
@@ -4135,8 +4135,7 @@ class Diaspora
|
|||||||
$dob = DateTimeFormat::utc($year . '-' . $month . '-'. $day, 'Y-m-d');
|
$dob = DateTimeFormat::utc($year . '-' . $month . '-'. $day, 'Y-m-d');
|
||||||
}
|
}
|
||||||
|
|
||||||
$about = $profile['about'];
|
$about = BBCode::toPlaintext($profile['about']);
|
||||||
$about = strip_tags(BBCode::convert($about));
|
|
||||||
|
|
||||||
$location = Profile::formatLocation($profile);
|
$location = Profile::formatLocation($profile);
|
||||||
$tags = '';
|
$tags = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user