aboutsummaryrefslogtreecommitdiff
path: root/mod/categories/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-05 19:14:48 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-05 19:14:48 +0000
commitff31226fdeb972aac2f37f0098240cb366a9bb26 (patch)
tree1f0caa75c9a340cf28ce9a81a4cbe3230d13abf3 /mod/categories/actions
parent81ffac29fabc175eebdbf95578da046f4f00611b (diff)
downloadelgg-ff31226fdeb972aac2f37f0098240cb366a9bb26.tar.gz
elgg-ff31226fdeb972aac2f37f0098240cb366a9bb26.tar.bz2
Merged 18_new_admin branch to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@5977 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/categories/actions')
-rw-r--r--mod/categories/actions/save.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/categories/actions/save.php b/mod/categories/actions/save.php
index 21602f659..3e93b6325 100644
--- a/mod/categories/actions/save.php
+++ b/mod/categories/actions/save.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Elgg categories plugin category saver
*
@@ -13,10 +12,10 @@
$categories = get_input('categories');
$categories = string_to_tag_array($categories);
-global $CONFIG;
$site = $CONFIG->site;
$site->categories = $categories;
system_message(elgg_echo("categories:save:success"));
-forward($_SERVER['HTTP_REFERER']);
+elgg_delete_admin_notice('categories_admin_notice_no_categories');
+forward($_SERVER['HTTP_REFERER']); \ No newline at end of file