Sunday 10 October 2010 2:11:29 pm
Hi,
the cronjob unpublish dosn't remove contentobjects.
i've set in content.ini.append.php
[UnpublishSettings]
RootNodeList[]=9237 (standard folder, section_id = 6) ClassList[]=44 (class with ezdate attribute 'unpublish_date')
cronjobs/unpublish.php
$articleNodeArray = $rootNode->subTree( array( 'ClassFilterType' => 'include', 'ClassFilterArray' => $unpublishClasses ) );
this part returns an empty array.
I tried $rootNode->children() for testing, but it also returns an empty array. The folder isn't empty. Has anybody got a clue???
---
ROCK ON
Dirk
|