roundcubemail/plugins/enigma/lib/enigma_engine.php
public function delete_user_data($username)
    {
        $homedir = $this->rc->config->get('enigma_pgp_homedir', INSTALL_PATH . 'plugins/enigma/home');
        $homedir .= DIRECTORY_SEPARATOR . $username;

        return file_exists($homedir) ? self::delete_dir($homedir) : true;
    }
public function delete_user_data($username)
    {
        $homedir = $this->rc->config->get('enigma_pgp_homedir', INSTALL_PATH . 'plugins/enigma/home');
        $homedir .= DIRECTORY_SEPARATOR . $username;

        return file_exists($homedir) ? self::delete_dir($homedir) : true;
    }
public function delete_user_data ( $ username ) { $ homedir = $ this -> rc -> config -> get ( 'enigma_pgp_homedir' , INSTALL_PATH . 'plugins/enigma/home' ) ; $ homedir .= DIRECTORY_SEPARATOR . $ username ; return file_exists ( $ homedir ) ? self :: delete_dir ( $ homedir ) : true ; }
Removes all user keys and assigned data

@param string Username

@return bool True on success, False on failure
Removes all user keys and assigned data