Hi there,
I have some content all with the same category id , all of the same content type based on the joomla article content type.
For privacy protection reason, all content older than 6 weeks must be deleted.
So I wrote a user-plugin, which finds all older articles in the #__content table when a user logs in.
Then I tried to delete these contents by using the seblod method:
$content = new JCckContentArticle;
$content->delete( $pk ); // Here I use the id of my #__content- results as $pk.
But nothing happens. Maybe this method does not work in a user plugin?
I checked the jCckContentArticle-Object: it does exist.
Any idea, what is wrong with this?
Thank you
Wolfgang