Writing to a Table Which is not Mine

Kovu

New member
I've been currently developing a plugin where, when a user is banned, the system runs a cron which removes all of their post ratings (From Dark's PostRating plugin). However, I do not know how to write to his table. I seem to need a DataWriter, but I'm not sure if I can use his, or I need to make one myself?

Any help is appreciated. I thought I could just instantiate a DataWriter and write directly to the table, but I'm not entirely sure if I can just do that.
 
Try to see through his code to find how he uses the Datawriter. Probably you will only need to learn how to use it instead of building one from scratch.
 
Top Bottom