Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 02:58:57 +0000 (02:58 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 02:58:57 +0000 (02:58 +0000)
cron/cron-lib.pl

index 2d1ae8b..0994ff9 100644 (file)
@@ -12,9 +12,9 @@ Functions for listing, creating and managing Unix users' cron jobs.
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 $env_support = $config{'vixie_cron'};
 if ($module_info{'usermin'}) {