discourse/app/assets/javascripts/discourse/controllers/header.js.es6
2016-11-07 15:21:31 -05:00

8 lines
307 B
JavaScript

import { addFlagProperty as realAddFlagProperty } from 'discourse/components/site-header';
import deprecated from 'discourse-common/lib/deprecated';
export function addFlagProperty(prop) {
deprecated("importing `addFlagProperty` is deprecated. Use the PluginAPI instead");
realAddFlagProperty(prop);
}