mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "DEV: Log deprecated FA 4.7 icon names in /logs"
This reverts commit 2dd9727c11.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { h } from "virtual-dom";
|
||||
import { reportToLogster } from "discourse/lib/utilities";
|
||||
import attributeHook from "discourse-common/lib/attribute-hook";
|
||||
import deprecated from "discourse-common/lib/deprecated";
|
||||
|
||||
@@ -585,11 +584,6 @@ function warnIfDeprecated(oldId, newId) {
|
||||
deprecated(
|
||||
`Please replace all occurrences of "${oldId}"" with "${newId}". FontAwesome 4.7 icon names are now deprecated and will be removed in the next release.`
|
||||
);
|
||||
const errorData = {
|
||||
message: `FA icon deprecation: replace "${oldId}"" with "${newId}".`,
|
||||
stacktrace: Error().stack
|
||||
};
|
||||
reportToLogster(errorData);
|
||||
}
|
||||
|
||||
function handleIconId(icon) {
|
||||
|
||||
Reference in New Issue
Block a user