eZPublish  4.4
old_drafts_cleanup.php File Reference

Variables

 $draftsCleanUpLimit
 
 $duration = 0
 
 $durationSetting
 
 $ini = eZINI::instance( 'content.ini' )
 
 $isDurationSet = false
 
if(is_array($durationSetting))
if($isDurationSet) 
else
 

Variable Documentation

$draftsCleanUpLimit
Initial value:
= $ini->hasVariable( 'VersionManagement', 'DraftsCleanUpLimit' ) ?
$ini->variable( 'VersionManagement', 'DraftsCleanUpLimit' ) : 0
$ini
Definition: ezgeneratetranslationcache.php:74
$duration = 0
$durationSetting
Initial value:
= $ini->hasVariable( 'VersionManagement', 'DraftsDuration' ) ?
$ini->variable( 'VersionManagement', 'DraftsDuration' ) : array( 'days' => 90 )
$ini
Definition: ezgeneratetranslationcache.php:74
$ini = eZINI::instance( 'content.ini' )
$isDurationSet = false
if (is_array($durationSetting)) if ($isDurationSet) else
Initial value:
{
if ( !$isQuiet )
$cli->output( "Lifetime is not set for user's drafts (see your ini-settings, content.ini, VersionManagement section)." )
$isQuiet
Definition: ezsessiongc.php:29
$cli
Definition: adddefaultstates.php:6