Current File : /home/inlingua/public_html/decay_sym/root/var/softaculous/apps/dovecot/3/remove.php
<?php

/*
function __dovecot_preremove(){
	
}

function __dovecot_postremove(){
	
}

-- Remember to user 'purge' not 'remove'
*/

function __dovecot_remove(){
	
	global $global;
	
	vexec('systemctl stop dovecot');
	
	// Remove symlink for mailx
	@unlink('/usr/bin/doveadm');
	@unlink('/usr/bin/doveconf');
	@unlink('/usr/sbin/dovecot');
	@unlink('/usr/lib/systemd/system/dovecot.service');
	
	
}