aboutsummaryrefslogtreecommitdiff
path: root/mod/categories
diff options
context:
space:
mode:
Diffstat (limited to 'mod/categories')
-rw-r--r--mod/categories/manifest.xml2
-rw-r--r--mod/categories/start.php21
2 files changed, 0 insertions, 23 deletions
diff --git a/mod/categories/manifest.xml b/mod/categories/manifest.xml
index f02d7a8cb..43df13d02 100644
--- a/mod/categories/manifest.xml
+++ b/mod/categories/manifest.xml
@@ -14,6 +14,4 @@
<version>2010030101</version>
</requires>
<admin_interface>advanced</admin_interface>
- <on_activate>categories_on_activate</on_activate>
- <on_deactivate>categories_on_deactivate</on_deactivate>
</plugin_manifest>
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');
-}