diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-28 16:24:08 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-28 16:24:08 +0000 |
commit | 1df001a306f5bc3101076c403f8c8155c92a9693 (patch) | |
tree | 24fc1081ce6b8aacfc5863cea7552aa734a59c49 /SiteSummary.pm | |
parent | 235a3e1ac485c6a5f75254c86ee7220a02e80742 (diff) | |
download | sitesummary-1df001a306f5bc3101076c403f8c8155c92a9693.tar.gz sitesummary-1df001a306f5bc3101076c403f8c8155c92a9693.tar.bz2 sitesummary-1df001a306f5bc3101076c403f8c8155c92a9693.tar.xz |
* Remove sitecontact references. I'm not sure it is the right place
for it, and we can reintroduce it if it proves to be a good idea.
Diffstat (limited to 'SiteSummary.pm')
-rw-r--r-- | SiteSummary.pm | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/SiteSummary.pm b/SiteSummary.pm index bd3107e..9094c13 100644 --- a/SiteSummary.pm +++ b/SiteSummary.pm @@ -12,7 +12,6 @@ our @EXPORT = qw( get_filepath_current get_site get_sitegroup - get_sitecontact get_linux_kernel_ver ); @@ -61,27 +60,6 @@ sub get_sitegroup { } # -# Return list with the mail addresses listed in sitecontact. -# -sub get_sitecontact { - my $hostid = shift; - my $path = get_filepath_current($hostid, "/siteinfo/sitecontact"); - my @addr = (); - if (open (FILE, $path)) { - while(<FILE>) { - chomp; - s/\#.+$//; - next if (/^\s*$/); - push(@addr, split(/,\s*/, $_)); - } - close(FILE); - return @addr; - } else { - return undef; - } -} - -# # Return Linux kernel version for the machines using Linux. # sub get_linux_kernel_ver { |