Ning Developer Network

Hi guys,

I'm having problems working out how to delete something from the Content Store. I found this link:

http://pastie.textmate.org/126735

That is supposed to delete an object. But it does nothing. If I try a print_r, the $content variable has the right bits, but the executed tagQuery is empty. How's that happened?

For reference, I'm trying to delete a message board category. I know it's simple using the GUI, but I'm trying to learn about how the content store works first...

Share

Reply to This

Replies to This Discussion

I think you need something like:

XN_Content::delete($content)

(Based on the documentation)

Reply to This

Hi Alastair, did you find the key? I need to remove content too.

Reply to This

Reply to This

RSS

© 2009   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service