remove deprecation warning https://github.com/designcreateplay/NodeBB/issues/1276