Changeset:
70379453a15f
https://sourceforge.net/p/mrbs/hg-code/ci/70379453a15f6e3a28686bfb7527be02ba94eb81
Author:
Campbell Morrison <[email protected]>
Date:
Thu Feb 23 18:22:25 2017 +0000
Log message:
Removed redundant use of $url_base (it can't have been doing anything anyway as
there were no global declarations)
diffstat:
web/session/session_cookie.inc | 6 ++----
web/session/session_http.inc | 5 +----
web/session/session_joomla.inc | 6 ++----
web/session/session_php.inc | 5 +----
web/session/session_wordpress.inc | 6 ++----
5 files changed, 8 insertions(+), 20 deletions(-)
diffs (90 lines):
diff -r 9fbb1c181d0e -r 70379453a15f web/session/session_cookie.inc
--- a/web/session/session_cookie.inc Wed Feb 22 17:32:11 2017 +0000
+++ b/web/session/session_cookie.inc Thu Feb 23 18:22:25 2017 +0000
@@ -262,14 +262,12 @@
global $QUERY_STRING, $auth, $day, $month, $year;
$target_url = this_page();
- if (isset($url_base) && ($url_base !== ''))
- {
- $target_url = $url_base . '/' . $target_url;
- }
+
if (isset($QUERY_STRING))
{
$target_url = $target_url . "?" . $QUERY_STRING;
}
+
$user=getUserName();
if ($user != "")
{
diff -r 9fbb1c181d0e -r 70379453a15f web/session/session_http.inc
--- a/web/session/session_http.inc Wed Feb 22 17:32:11 2017 +0000
+++ b/web/session/session_http.inc Thu Feb 23 18:22:25 2017 +0000
@@ -76,10 +76,7 @@
global $QUERY_STRING, $auth, $day, $month, $year;
$target_url = this_page();
- if (isset($url_base) && ($url_base !== ''))
- {
- $target_url = $url_base . '/' . $target_url;
- }
+
if (isset($QUERY_STRING))
{
$target_url = $target_url . "?" . $QUERY_STRING;
diff -r 9fbb1c181d0e -r 70379453a15f web/session/session_joomla.inc
--- a/web/session/session_joomla.inc Wed Feb 22 17:32:11 2017 +0000
+++ b/web/session/session_joomla.inc Thu Feb 23 18:22:25 2017 +0000
@@ -123,14 +123,12 @@
global $QUERY_STRING, $auth, $day, $month, $year;
$target_url = this_page();
- if (isset($url_base) && ($url_base !== ''))
- {
- $target_url = $url_base . '/' . $target_url;
- }
+
if (isset($QUERY_STRING))
{
$target_url = $target_url . "?" . $QUERY_STRING;
}
+
$user=getUserName();
if (isset($user))
{
diff -r 9fbb1c181d0e -r 70379453a15f web/session/session_php.inc
--- a/web/session/session_php.inc Wed Feb 22 17:32:11 2017 +0000
+++ b/web/session/session_php.inc Thu Feb 23 18:22:25 2017 +0000
@@ -193,10 +193,7 @@
global $QUERY_STRING, $auth, $day, $month, $year;
$target_url = this_page();
- if (isset($url_base) && ($url_base !== ''))
- {
- $target_url = $url_base . '/' . $target_url;
- }
+
if (isset($QUERY_STRING))
{
$target_url = $target_url . "?" . $QUERY_STRING;
diff -r 9fbb1c181d0e -r 70379453a15f web/session/session_wordpress.inc
--- a/web/session/session_wordpress.inc Wed Feb 22 17:32:11 2017 +0000
+++ b/web/session/session_wordpress.inc Thu Feb 23 18:22:25 2017 +0000
@@ -128,14 +128,12 @@
global $QUERY_STRING, $auth, $day, $month, $year;
$target_url = this_page();
- if (isset($url_base) && ($url_base !== ''))
- {
- $target_url = $url_base . '/' . $target_url;
- }
+
if (isset($QUERY_STRING))
{
$target_url = $target_url . "?" . $QUERY_STRING;
}
+
$user=getUserName();
if (isset($user))
{
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits