From 3e699017da34b994da17978b905e985c1927cec0 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 14 Mar 2011 22:17:34 +0000 Subject: Refs #3079: Making sure elgg_get_max_plugin_priority() returns 1 instead. Fixed problems when bootstrapping elgg plugins. Will perform tests against MySQL 5.5 when I have a real internet connection. git-svn-id: http://code.elgg.org/elgg/trunk@8706 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPlugin.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engine/classes/ElggPlugin.php') diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php index 208d1eff8..69b3b1c67 100644 --- a/engine/classes/ElggPlugin.php +++ b/engine/classes/ElggPlugin.php @@ -200,10 +200,6 @@ class ElggPlugin extends ElggObject { return false; } - if ($priority == $old_priority) { - return false; - } - // there's nothing above the max. if ($priority > $max_priority) { $priority = $max_priority; -- cgit v1.2.3