aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc10
1 files changed, 0 insertions, 10 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 963a2604..1d8512ae 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -62,18 +62,8 @@ function openvpn_client_export_install() {
}
function openvpn_client_export_deinstall() {
- global $current_openvpn_version;
- conf_mount_rw();
- $phpfile = "vpn_openvpn_export.php";
- $phpfile2 = "vpn_openvpn_export_shared.php";
- $ovpndir = "/usr/local/share/openvpn";
$workdir = "{$ovpndir}/client-export";
-
- unlink_if_exists("/usr/local/www/{$phpfile}");
- unlink_if_exists("/usr/local/www/{$phpfile2}");
- unlink_if_exists("/usr/local/pkg/openvpn-client-export-{$current_openvpn_version}.tgz");
exec("/bin/rm -r {$workdir}");
- conf_mount_ro();
}
function openvpn_client_export_prefix($srvid, $usrid = null, $crtid = null) {