diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-04-18 19:54:17 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-04-18 19:54:17 -0400 |
commit | 0d9c5c1ccd66018a819b4ca327ab203f473e35dc (patch) | |
tree | f55e5caa8bf8036b02fc553eecd2b615791d2ce5 /mod/categories/start.php | |
parent | ca63a6b81eee1dfbee99a393a790402475a4612c (diff) | |
parent | d928588805375e7190ab393e2def555b39701a27 (diff) | |
download | elgg-0d9c5c1ccd66018a819b4ca327ab203f473e35dc.tar.gz elgg-0d9c5c1ccd66018a819b4ca327ab203f473e35dc.tar.bz2 |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'mod/categories/start.php')
-rw-r--r-- | mod/categories/start.php | 21 |
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'); -} |