We now store verbs in a new side table

This commit is contained in:
Michael 2020-05-09 15:38:40 +00:00
parent 5765b6f772
commit 5fe6a2dfcd
5 changed files with 132 additions and 2 deletions

View file

@ -1505,6 +1505,10 @@ class Item
return 0;
}
if (empty($item['vid']) && !empty($item['verb'])) {
$item['vid'] = Verb::getID($item['verb']);
}
self::addLanguageToItemArray($item);
// Items cannot be stored before they happen ...