Lack of interest use postmodel::deletePost inside inlinemod_post

  • Thread starter Thread starter ragtek
  • Start date Start date
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.
R

ragtek

Guest
Wouldn't it be better if there's only 1 responsible method for deleting posts?


If i delete an post via the direct link in the postbit, the code runs postmodel::deletePost

if i delete it via inlinemod option, it deletes the posts direct in XenForo_Model_InlineMod_Post::deletePosts


if only 1 method is responsible for deleting(i'm only talking about deleting, not permission check etc..) , it would be IMO easier for 3rd party devs to change the behaviour..

Now i need to extend XenForo_Model_InlineMod_Post and the post model to change the behaviour
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom