admins can set any qvitternotice

This commit is contained in:
Hannes Mannerheim 2016-01-28 19:08:58 +01:00
parent 65c5d4caca
commit e49964458c

View File

@ -38,8 +38,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR.'/extlib/htmLawed/htmLawed.php';
class QvitterAdminSettingsAction extends AdminPanelAction
{
@ -116,15 +114,6 @@ class QvitterAdminSettingsAction extends AdminPanelAction
_('Maximum length for the sidebar notice is 21844 characters.')
);
}
// scrub HTML input
$config = array(
'safe' => 1,
'deny_attribute' => 'on*'
);
$qvitterNotice = htmLawed($qvitterNotice, $config);
}
}