Add BBCode versioning

- This will trigger the re-conversion of displayed items on version update
This commit is contained in:
Hypolite Petovan 2020-12-04 07:29:08 -05:00
parent a382798999
commit e712706302
2 changed files with 18 additions and 14 deletions

View file

@ -49,6 +49,9 @@ use Friendica\Util\XML;
class BBCode
{
// Update this value to the current date whenever changes are made to BBCode::convert
const VERSION = '2020-12-03';
const INTERNAL = 0;
const API = 2;
const DIASPORA = 3;