aboutsummaryrefslogtreecommitdiff
path: root/mod/categories/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-16 22:10:52 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-16 22:10:52 +0000
commit6729a2d0d2faeb07ca8e79b5162c3be269e01b66 (patch)
tree119609339fa2914d81f43a98a8f9fd6193db0d34 /mod/categories/start.php
parent2b2afd98c05139c1a5c25f1752e2bb412e26e335 (diff)
downloadelgg-6729a2d0d2faeb07ca8e79b5162c3be269e01b66.tar.gz
elgg-6729a2d0d2faeb07ca8e79b5162c3be269e01b66.tar.bz2
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
Diffstat (limited to 'mod/categories/start.php')
-rw-r--r--mod/categories/start.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/mod/categories/start.php b/mod/categories/start.php
index 190996d9b..ff5b01efc 100644
--- a/mod/categories/start.php
+++ b/mod/categories/start.php
@@ -54,24 +54,3 @@ function categories_save($event, $object_type, $object) {
}
return TRUE;
}
-
-/**
- * Add a reminder to set default categories.
- */
-function categories_on_activate() {
- $site = elgg_get_site_entity();
-
- if (!$site->categories) {
- $url = elgg_normalize_url('admin/plugin_settings/categories');
- $message = elgg_echo('categories:on_enable_reminder', array($url));
- elgg_add_admin_notice('categories_admin_notice_no_categories', $message);
- }
- return TRUE;
-}
-
-/**
- * Clean up admin notices on disable.
- */
-function categories_on_deactivate() {
- elgg_delete_admin_notice('categories_admin_notice_no_categories');
-}