diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-01 17:53:56 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-01 17:53:56 +0000 |
commit | 07ffe6464b453fd90cd2833fc55f804c57c52b4a (patch) | |
tree | 8bbf522fbff22fbe7a498903ea206f98cd7a34ad | |
parent | a6db51b8398e2b70e7f8253936c3288c6df87e9d (diff) | |
download | elgg-07ffe6464b453fd90cd2833fc55f804c57c52b4a.tar.gz elgg-07ffe6464b453fd90cd2833fc55f804c57c52b4a.tar.bz2 |
removed unnecessary variable from stick forms code
git-svn-id: http://code.elgg.org/elgg/trunk@7803 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/elgglib.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index be7f1b768..e16068c05 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1824,10 +1824,8 @@ function elgg_http_url_is_identical($url1, $url2, $ignore_params = array('offset * @return void * @link http://docs.elgg.org/Tutorials/UI/StickyForms */ -function elgg_make_sticky_form($form_name) { - global $CONFIG; +function elgg_make_sticky_form($form_name = 'default') { - $CONFIG->active_sticky_form = $form_name; elgg_clear_sticky_form($form_name); if (!isset($_SESSION['sticky_forms'])) { |