diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-26 14:57:09 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-26 14:57:09 +0000 |
commit | 388eeb5b4dfd246bfddf8ea4b7172696646ad702 (patch) | |
tree | cc63dea8bd752f0e03c0a73402827cf1b287a5cd /script/post-smtp-hooks.js | |
parent | 3b38e067fd89ff95492c1951854f1754d668dfdc (diff) | |
download | Post-SMTP-388eeb5b4dfd246bfddf8ea4b7172696646ad702.zip |
missong file, bug sent to
Diffstat (limited to 'script/post-smtp-hooks.js')
-rw-r--r-- | script/post-smtp-hooks.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/script/post-smtp-hooks.js b/script/post-smtp-hooks.js deleted file mode 100644 index 092f024..0000000 --- a/script/post-smtp-hooks.js +++ /dev/null @@ -1,15 +0,0 @@ -var Hook = { - hooks: [], - - register: function ( name, callback ) { - if( 'undefined' == typeof( Hook.hooks[name] ) ) - Hook.hooks[name] = [] - Hook.hooks[name].push( callback ) - }, - - call: function ( name, arguments ) { - if( 'undefined' != typeof( Hook.hooks[name] ) ) - for( i = 0; i < Hook.hooks[name].length; ++i ) - if( true != Hook.hooks[name][i]( arguments ) ) { break; } - } -}
\ No newline at end of file |