aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/access.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
commit0b7ddb28c68a94403847ddaab460e395f09b9677 (patch)
treece39e9396a9150bc35a61b6d75405cedde56abfc /views/default/input/access.php
parenta7e426447b6d544b85acb7218e4dfb84de5ce36f (diff)
downloadelgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.gz
elgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.bz2
Fixes #2510 sticky forms is finish - Elgg 1.9 could have a ElggForm class that makes it even easier to use a sticky form
git-svn-id: http://code.elgg.org/elgg/trunk@8042 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/access.php')
-rw-r--r--views/default/input/access.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/default/input/access.php b/views/default/input/access.php
index da7853b8b..79807cedd 100644
--- a/views/default/input/access.php
+++ b/views/default/input/access.php
@@ -28,10 +28,6 @@ if (!array_key_exists('value', $vars) || $vars['value'] == ACCESS_DEFAULT) {
$vars['value'] = get_default_access();
}
-if (!isset($vars['value']) || $vars['value'] === FALSE) {
- $vars['value'] = elgg_get_sticky_value($vars['internalname']);
-}
-
if ((!isset($vars['options'])) || (!is_array($vars['options']))) {
$vars['options'] = array();
$vars['options'] = get_write_access_array();