diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-15 17:29:46 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-19 12:26:47 +0400 |
commit | 33a43a50d4d66de3409cb4ac4ed62a656179e58c (patch) | |
tree | cfbd8fad602af8adf8a1c1eeacd29f0cceb73fe9 /core/Nonce.php | |
parent | 5d7c6f4a813c6193e0be20ccba99037926846b14 (diff) |
removed unused variables and dead code
Diffstat (limited to 'core/Nonce.php')
-rw-r--r-- | core/Nonce.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Nonce.php b/core/Nonce.php index fecaaa7764..825b9aea56 100644 --- a/core/Nonce.php +++ b/core/Nonce.php @@ -140,8 +140,10 @@ class Nonce } // standard ports - $origins[] = 'http://' . $host; - $origins[] = 'https://' . $host; + $origins = array( + 'http://' . $host, + 'https://' . $host, + ); // non-standard ports if (!empty($port) && $port != 80 && $port != 443) { |