this-> PlugInUninstall

(Caronte Pcode version 2.0)

Description

int this->PlugInUnnstall(string [dir_plugin_name], string [unique_id]);

Unnstall the unique_id plugin that is in the "dir plugin name" path and search "info.xml", from Caronte Antispam.

The function return 1 if success, 0 if not.

Example.

Source:

 

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->PlugInUninstall("dir_plugin","unique_id");

return 0;

}