{ $cli->output( "Could not remove expired sessions, current session handler does not support session garbage collection (not backend based)." ); } else { $cli->output( "Removing expired sessions,", false ); eZSession::garbageCollector(); $activeCount = eZSession::countActive(); $cli->output( " " . $cli->stylize( 'emphasize', $activeCount ) . " left" ); } } if ( $clean['preferences'] ) { $cli->output( "Removing all preferences" ); eZPreferences::cleanup(); } if ( $clean['browse'] ) { $cli->output( "Removing all recent items and bookmarks for browse page" ); eZContentBrowseRecent::cleanup(); eZContentBrowseBookmark::cleanup(); } if ( $clean['tipafriend'] ) { $cli->output( "Removing all counters for tip-a-friend" ); eZTipafriendCounter::cleanup(); }