Description

This function deletes the user's /trash directory's contents.

Examples




$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$empty_trash = $cpanel->api1('Fileman', 'emptytrash'); // Call the function.



my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $empty_trash = $cpliveapi->api1('Fileman', 'emptytrash'); # Call the function.


<cpanel Module="Fileman::emptytrash ()">




cpapi1 --user=username Fileman emptytrash


This function does not return output.



Parameters

This function does not accept parameters.

Returns

This function does not return output.