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/ElggPluginManifest.php | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'engine/classes/ElggPluginManifest.php') diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php index a0ec478a9..0f3b1d7a8 100644 --- a/engine/classes/ElggPluginManifest.php +++ b/engine/classes/ElggPluginManifest.php @@ -576,36 +576,6 @@ class ElggPluginManifest { return $normalized; } - /** - * Returns the functions to run upon activation - * - * @return array - */ - public function getOnActivate() { - $functions = $this->parser->getAttribute('on_activate'); - - if (!$functions) { - $functions = array(); - } - - return $functions; - } - - /** - * Returns the functions to run upon deactivation - * - * @return array - */ - public function getOnDeactivate() { - $functions = $this->parser->getAttribute('on_deactivate'); - - if (!$functions) { - $functions = array(); - } - - return $functions; - } - /** * Returns the admin interface to use. * -- cgit v1.2.3