Code

Removed smarty plugin loading
[gosa.git] / gosa-si / server / events / logHandling.pm
index 42af112bc225f540ebde56dfb24a82ea46b76b1b..9e1f38cd999c7d774973743ecc06d7f5fd4dd7ee 100644 (file)
@@ -4,13 +4,15 @@ package logHandling;
 use strict;
 use warnings;
 
-use Exporter;
-use GOSA::GosaSupportDaemon;
 use Data::Dumper;
 use File::Spec;
 use MIME::Base64;
+use GOsaSI::GosaSupportDaemon;
+
+use Exporter;
+
+our @ISA = qw(Exporter);
 
-@ISA = qw(Exporter);
 my @events = (
     "get_events",
     "show_log_by_mac",
@@ -21,7 +23,8 @@ my @events = (
     "get_recent_log_by_mac",
     "delete_log_by_date_and_mac",
     );
-@EXPORT = @events;
+
+our @EXPORT = @events;
 
 BEGIN {}
 
@@ -304,7 +307,7 @@ sub get_log_file_by_date_and_mac {
     
     # read log file
     my $log_content;
-    open(my $FILE, "<", "$act_log_file");
+    open(my $FILE, "<$act_log_file");
     my @log_lines = <$FILE>;
     close($FILE);