summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-02 10:40:41 -0700
committerBrion Vibber <brion@pobox.com>2010-09-02 10:55:26 -0700
commit4cbbfdab84c3cd58880902dbc560b14b4c66a0e8 (patch)
tree0effe84c40438ffb33bab570d897c0a5bba3af2f /lib
parent8f06e3b2819936d1a9fe30b1bc44759bdcd56992 (diff)
Fix for #2635: use ssl-sometimes settings for Twitter settings & auth pages
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 66600c766..f63e152e3 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1018,8 +1018,7 @@ function common_local_url($action, $args=null, $params=null, $fragment=null, $ad
function common_is_sensitive($action)
{
- static $sensitive = array('login', 'register', 'passwordsettings',
- 'twittersettings', 'api');
+ static $sensitive = array('login', 'register', 'passwordsettings', 'api');
$ssl = null;
if (Event::handle('SensitiveAction', array($action, &$ssl))) {