From 388eeb5b4dfd246bfddf8ea4b7172696646ad702 Mon Sep 17 00:00:00 2001 From: yehudah Date: Thu, 26 Sep 2019 14:57:09 +0000 Subject: missong file, bug sent to --- script/post-smtp-hooks.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 script/post-smtp-hooks.js (limited to 'script') 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 -- cgit v1.2.3