[Fusionforge-commits] FusionForge branch master updated. 6.0.4-1159-g00374a3

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Thu Nov 17 18:56:54 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  00374a39ebde60bb3d9866f854b915f39cf0f5f1 (commit)
      from  543f03ef653adfcc05a71b705911803c2bc965d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=00374a39ebde60bb3d9866f854b915f39cf0f5f1

commit 00374a39ebde60bb3d9866f854b915f39cf0f5f1
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Thu Nov 17 18:56:48 2016 +0100

    PHP Doc; comments

diff --git a/src/common/include/session.php b/src/common/include/session.php
index 01a6b65..66eab5b 100644
--- a/src/common/include/session.php
+++ b/src/common/include/session.php
@@ -44,7 +44,7 @@ $session_ser = '';
 /**
  *	session_build_session_token() - Construct session token for the user
  *
- *	@param		int		$user_id	User_id of the logged in user
+ *	@param	int	$user_id	User_id of the logged in user
  *	@return string token value
  */
 function session_build_session_token($user_id) {
@@ -392,6 +392,7 @@ function session_redirect_uri($loc, $permanent=true) {
  * session_redirect() - Redirect browser within the site and exit.
  *
  * @param  string $loc    Absolute path within the site
+ * @param  bool   $permanent
  */
 function session_redirect($loc, $permanent=true) {
 	session_redirect_uri(util_make_url($loc), $permanent);
@@ -408,7 +409,7 @@ function session_redirect_external($url) {
 }
 
 /**
- *	session_redirect404() - Redirect browser to 404 error page
+ *	session_redirect404() - Redirect browser to 404 error page and exit.
  *
  *	@return never returns
  */
@@ -771,8 +772,7 @@ function setup_tz_from_context() {
 /**
  *	session_get_user() - Wrapper function to return the User object for the logged in user.
  *
- *	@return User
- *	@access public
+ *	@return FFUser
  */
 function &session_get_user() {
 	global $G_SESSION;

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/session.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list