IMPR: Minor social links improvements

This commit is contained in:
Tony Air 2023-11-09 19:20:25 +02:00
parent 90e1a0676e
commit fc596b45ff

View File

@ -58,7 +58,13 @@ class SocialExtension extends DataExtension
{ {
parent::updateCMSFields($fields); parent::updateCMSFields($fields);
$nwfieldsList = array_keys(self::$has_one);
foreach ($nwfieldsList as $k) {
$fields->removeByName($k.'ID');
}
$cfg = [ $cfg = [
'title_display' => false,
'types' => [ 'types' => [
'URL', 'URL',
], ],