Lack of interest model managing db data (tag_content)

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Daniel Hood

Well-known member
I'd like to suggest changing XenForo_Model_Tag::adjustContentTags() to not insert into the database directly and instead use the data writer for the tag_content table. Alternatively, just calling $this->_insertTagContentRecord() or something would work as well. Basically I want to do some stuff when tags are inserted to the table and deleted from the table and right now it's not a very friendly process. It's not a terrible process since all the tags getting added and removed are available but it still requires looping through the array(s) a second time. During the beta process seems like a reasonable time to suggest this and possibly make this minor code change.
 
Upvote 3
Top