From c417f2f03dd8f98a2f4d2495430aa50e3017b654 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 22 Sep 2009 15:36:44 -0700 Subject: [PATCH] Remove support for old Webmin versions, fix permissions --- backups-lib.pl | 0 cgi_args.pl | 0 change-licence.pl | 0 check-config.pl | 0 collect-lib.pl | 0 collectinfo.pl | 0 commands-lib.pl | 0 copy-mailbox.pl | 0 create-shared-address.pl | 0 domainname-lib.pl | 0 dynip-lib.pl | 0 feature-virt6.pl | 0 functional-test.pl | 0 generate-cert.pl | 0 get-dns.pl | 0 info.pl | 0 install-cert.pl | 0 json-lib.pl | 0 list-features.pl | 0 migration-lxadmin.pl | 0 migration-plesk.pl | 0 modify-database-hosts.pl | 0 modify-plan.pl | 0 newfeatures-lib.pl | 0 notify-domains.pl | 0 php-lib.pl | 0 plans-lib.pl | 0 postgrey-lib.pl | 0 resend-email.pl | 0 s3-lib.pl | 0 scriptwarn.pl | 0 search-maillogs.pl | 0 security-lib.pl | 0 sendratings.pl | 0 set-spam.pl | 0 sign-script-installers.pl | 0 simple-lib.pl | 0 spamconfig.pl | 0 spamtrap.pl | 0 test-smtp.pl | 0 upload-api-docs.pl | 0 virtual-server-lib-funcs.pl | 0 virtual-server-lib.pl | 5 ----- vui-lib.pl | 0 wizard-lib.pl | 0 45 files changed, 5 deletions(-) mode change 100644 => 100755 backups-lib.pl mode change 100644 => 100755 cgi_args.pl mode change 100644 => 100755 change-licence.pl mode change 100644 => 100755 check-config.pl mode change 100644 => 100755 collect-lib.pl mode change 100644 => 100755 collectinfo.pl mode change 100644 => 100755 commands-lib.pl mode change 100644 => 100755 copy-mailbox.pl mode change 100644 => 100755 create-shared-address.pl mode change 100644 => 100755 domainname-lib.pl mode change 100644 => 100755 dynip-lib.pl mode change 100644 => 100755 feature-virt6.pl mode change 100644 => 100755 functional-test.pl mode change 100644 => 100755 generate-cert.pl mode change 100644 => 100755 get-dns.pl mode change 100644 => 100755 info.pl mode change 100644 => 100755 install-cert.pl mode change 100644 => 100755 json-lib.pl mode change 100644 => 100755 list-features.pl mode change 100644 => 100755 migration-lxadmin.pl mode change 100644 => 100755 migration-plesk.pl mode change 100644 => 100755 modify-database-hosts.pl mode change 100644 => 100755 modify-plan.pl mode change 100644 => 100755 newfeatures-lib.pl mode change 100644 => 100755 notify-domains.pl mode change 100644 => 100755 php-lib.pl mode change 100644 => 100755 plans-lib.pl mode change 100644 => 100755 postgrey-lib.pl mode change 100644 => 100755 resend-email.pl mode change 100644 => 100755 s3-lib.pl mode change 100644 => 100755 scriptwarn.pl mode change 100644 => 100755 search-maillogs.pl mode change 100644 => 100755 security-lib.pl mode change 100644 => 100755 sendratings.pl mode change 100644 => 100755 set-spam.pl mode change 100644 => 100755 sign-script-installers.pl mode change 100644 => 100755 simple-lib.pl mode change 100644 => 100755 spamconfig.pl mode change 100644 => 100755 spamtrap.pl mode change 100644 => 100755 test-smtp.pl mode change 100644 => 100755 upload-api-docs.pl mode change 100644 => 100755 virtual-server-lib-funcs.pl mode change 100644 => 100755 vui-lib.pl mode change 100644 => 100755 wizard-lib.pl diff --git a/backups-lib.pl b/backups-lib.pl old mode 100644 new mode 100755 diff --git a/cgi_args.pl b/cgi_args.pl old mode 100644 new mode 100755 diff --git a/change-licence.pl b/change-licence.pl old mode 100644 new mode 100755 diff --git a/check-config.pl b/check-config.pl old mode 100644 new mode 100755 diff --git a/collect-lib.pl b/collect-lib.pl old mode 100644 new mode 100755 diff --git a/collectinfo.pl b/collectinfo.pl old mode 100644 new mode 100755 diff --git a/commands-lib.pl b/commands-lib.pl old mode 100644 new mode 100755 diff --git a/copy-mailbox.pl b/copy-mailbox.pl old mode 100644 new mode 100755 diff --git a/create-shared-address.pl b/create-shared-address.pl old mode 100644 new mode 100755 diff --git a/domainname-lib.pl b/domainname-lib.pl old mode 100644 new mode 100755 diff --git a/dynip-lib.pl b/dynip-lib.pl old mode 100644 new mode 100755 diff --git a/feature-virt6.pl b/feature-virt6.pl old mode 100644 new mode 100755 diff --git a/functional-test.pl b/functional-test.pl old mode 100644 new mode 100755 diff --git a/generate-cert.pl b/generate-cert.pl old mode 100644 new mode 100755 diff --git a/get-dns.pl b/get-dns.pl old mode 100644 new mode 100755 diff --git a/info.pl b/info.pl old mode 100644 new mode 100755 diff --git a/install-cert.pl b/install-cert.pl old mode 100644 new mode 100755 diff --git a/json-lib.pl b/json-lib.pl old mode 100644 new mode 100755 diff --git a/list-features.pl b/list-features.pl old mode 100644 new mode 100755 diff --git a/migration-lxadmin.pl b/migration-lxadmin.pl old mode 100644 new mode 100755 diff --git a/migration-plesk.pl b/migration-plesk.pl old mode 100644 new mode 100755 diff --git a/modify-database-hosts.pl b/modify-database-hosts.pl old mode 100644 new mode 100755 diff --git a/modify-plan.pl b/modify-plan.pl old mode 100644 new mode 100755 diff --git a/newfeatures-lib.pl b/newfeatures-lib.pl old mode 100644 new mode 100755 diff --git a/notify-domains.pl b/notify-domains.pl old mode 100644 new mode 100755 diff --git a/php-lib.pl b/php-lib.pl old mode 100644 new mode 100755 diff --git a/plans-lib.pl b/plans-lib.pl old mode 100644 new mode 100755 diff --git a/postgrey-lib.pl b/postgrey-lib.pl old mode 100644 new mode 100755 diff --git a/resend-email.pl b/resend-email.pl old mode 100644 new mode 100755 diff --git a/s3-lib.pl b/s3-lib.pl old mode 100644 new mode 100755 diff --git a/scriptwarn.pl b/scriptwarn.pl old mode 100644 new mode 100755 diff --git a/search-maillogs.pl b/search-maillogs.pl old mode 100644 new mode 100755 diff --git a/security-lib.pl b/security-lib.pl old mode 100644 new mode 100755 diff --git a/sendratings.pl b/sendratings.pl old mode 100644 new mode 100755 diff --git a/set-spam.pl b/set-spam.pl old mode 100644 new mode 100755 diff --git a/sign-script-installers.pl b/sign-script-installers.pl old mode 100644 new mode 100755 diff --git a/simple-lib.pl b/simple-lib.pl old mode 100644 new mode 100755 diff --git a/spamconfig.pl b/spamconfig.pl old mode 100644 new mode 100755 diff --git a/spamtrap.pl b/spamtrap.pl old mode 100644 new mode 100755 diff --git a/test-smtp.pl b/test-smtp.pl old mode 100644 new mode 100755 diff --git a/upload-api-docs.pl b/upload-api-docs.pl old mode 100644 new mode 100755 diff --git a/virtual-server-lib-funcs.pl b/virtual-server-lib-funcs.pl old mode 100644 new mode 100755 diff --git a/virtual-server-lib.pl b/virtual-server-lib.pl index 5cb34b953..e8cdb12b3 100755 --- a/virtual-server-lib.pl +++ b/virtual-server-lib.pl @@ -3,11 +3,6 @@ BEGIN { push(@INC, ".."); }; eval "use WebminCore;"; -if ($@) { - # Old Webmin version - do '../web-lib.pl'; - do '../ui-lib.pl'; - } &init_config(); if (&indexof($module_root_directory, @INC) < 0) { diff --git a/vui-lib.pl b/vui-lib.pl old mode 100644 new mode 100755 diff --git a/wizard-lib.pl b/wizard-lib.pl old mode 100644 new mode 100755