aboutsummaryrefslogtreecommitdiffstats
path: root/include/nms.pm
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-20 16:48:03 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-20 16:48:03 +0200
commit746e73a9ea27dc90047ac26950c21f963bf99af5 (patch)
tree62c2b3c642dfa08a12b9b6fbbb76da62e9074ad4 /include/nms.pm
parent212753aa48e60ccc9cbd74a16f313cebc6d3cda6 (diff)
Add system-generated op logs
First up: Add a switch, get a log entry. This might require some filtering in the GUI eventually. This is why the user is set to 'system', even when we have an actual user that triggered the event.
Diffstat (limited to 'include/nms.pm')
-rwxr-xr-xinclude/nms.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nms.pm b/include/nms.pm
index 273d65d..df4cc3a 100755
--- a/include/nms.pm
+++ b/include/nms.pm
@@ -8,7 +8,7 @@ use JSON;
package nms;
use base 'Exporter';
-our @EXPORT = qw(switch_disconnect switch_connect_ssh switch_connect_dlink switch_exec switch_exec_json switch_timeout db_connect);
+our @EXPORT = qw(db_connect);
BEGIN {
require "config.pm";