From 1dd33770ed906c5c264166ae592779023ad2f919 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 19 Jun 2012 18:26:40 -0700 Subject: plugin optimisation - don't loop through every single plugin callback for every hook call, only those registered for that hook --- boot.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 78e1dac6a..76cf8af57 100644 --- a/boot.php +++ b/boot.php @@ -77,14 +77,6 @@ define ( 'CONTACT_IS_SHARING', 2); define ( 'CONTACT_IS_FRIEND', 3); -/** - * Hook array order - */ - -define ( 'HOOK_HOOK', 0); -define ( 'HOOK_FILE', 1); -define ( 'HOOK_FUNCTION', 2); - /** * DB update return values */ -- cgit v1.2.3