Browse Source

Remove unused internal hooking code

Alois Mahdal 9 years ago
parent
commit
a6d548ce10
1 changed files with 0 additions and 17 deletions
  1. 0
    17
      src/libexec/saturnin-iam

+ 0
- 17
src/libexec/saturnin-iam View File

@@ -58,21 +58,6 @@ set_status() {
58 58
 }
59 59
 
60 60
 
61
-#
62
-# hooks
63
-#
64
-
65
-run_hook() {
66
-    local name=$1
67
-    local cmd=$2
68
-    local arg=$3
69
-    inigrep -p iam.hooking.$name.$cmd \
70
-      | SATURNIN_IAM_CMD=$cmd \
71
-        SATURNIN_IAM_ARG=$arg \
72
-        bash
73
-}
74
-
75
-
76 61
 #
77 62
 # subcommand handlers
78 63
 #
@@ -152,6 +137,4 @@ available_commands | grep -qse ^$1 || usage
152 137
 
153 138
 shift
154 139
 
155
-run_hook before $cmd $1
156 140
 i_am_$cmd $1
157
-run_hook after $cmd $1