From 6729a2d0d2faeb07ca8e79b5162c3be269e01b66 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 16 Apr 2011 22:10:52 +0000 Subject: Fixes #3310. Applied lie2815's patch to use activate.php and deactivate.php instead of manifest on_de/activate fields in plugins. git-svn-id: http://code.elgg.org/elgg/trunk@9002 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPluginManifestParser18.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engine/classes/ElggPluginManifestParser18.php') diff --git a/engine/classes/ElggPluginManifestParser18.php b/engine/classes/ElggPluginManifestParser18.php index 38734f6b4..db8b3dc6a 100644 --- a/engine/classes/ElggPluginManifestParser18.php +++ b/engine/classes/ElggPluginManifestParser18.php @@ -15,8 +15,8 @@ class ElggPluginManifestParser18 extends ElggPluginManifestParser { protected $validAttributes = array( 'name', 'author', 'version', 'blurb', 'description', 'website', 'copyright', 'license', 'requires', 'suggests', - 'screenshot', 'category', 'conflicts', 'provides', 'on_activate', - 'on_deactivate', 'admin_interface', 'activate_on_install' + 'screenshot', 'category', 'conflicts', 'provides', + 'admin_interface', 'activate_on_install' ); /** @@ -52,8 +52,6 @@ class ElggPluginManifestParser18 extends ElggPluginManifestParser { break; // arrays - case 'on_activate': - case 'on_deactivate': case 'category': $parsed[$element->name][] = $element->content; break; -- cgit v1.2.3