|
From: <be...@us...> - 2013-09-02 06:56:09
|
Revision: 11994
http://sourceforge.net/p/xoops/svn/11994
Author: beckmi
Date: 2013-09-02 06:56:06 +0000 (Mon, 02 Sep 2013)
Log Message:
-----------
assigning "static" to functions in XoopsUserUtility class
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/userutility.php
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2013-08-31 22:17:30 UTC (rev 11993)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2013-09-02 06:56:06 UTC (rev 11994)
@@ -17,7 +17,9 @@
- added: check if 'date.timezone' is set in php.ini, if not, set it to UTC (cesag/mamba)
- assigned _SHORTDATESTRING to _CAL_FORMAT to have consistency in local languages (jcweb/guspel)
- fixed bug in calendar.js (mamba)
-- added link to Module's Admin after "Update" (currently only to XOOPS Modules section)
+- added link to Module's Admin after "Update" (currently only to XOOPS Modules section) (mamba)
+- added placeholder for a link to upload test data, if available after installation (mamba)
+- assigning "static" to functions in XoopsUserUtility class (mamba)
===============================
2013/04/21: Version 2.5.6 Final
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/userutility.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/userutility.php 2013-08-31 22:17:30 UTC (rev 11993)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/userutility.php 2013-09-02 06:56:06 UTC (rev 11994)
@@ -33,7 +33,7 @@
* @param mixed $user
* @return
*/
- function sendWelcome($user)
+ static function sendWelcome($user)
{
global $xoopsConfigUser, $xoopsConfig;
@@ -79,7 +79,7 @@
*
* @return
*/
- function validate()
+ static function validate()
{
global $xoopsUser;
@@ -214,7 +214,7 @@
* @param bool $asString requiring integer or dotted string
* @return mixed string or integer value for the IP
*/
- function getIP($asString = false)
+ static function getIP($asString = false)
{
// Gets the proxy ip sent by the user
$proxy_ip = '';
@@ -258,7 +258,7 @@
* @param mixed $linked
* @return
*/
- function getUnameFromIds($uid, $usereal = false, $linked = false)
+ static function getUnameFromIds($uid, $usereal = false, $linked = false)
{
if (!is_array($uid)) {
$uid = array($uid);
@@ -299,7 +299,7 @@
* @param mixed $linked
* @return
*/
- function getUnameFromId($userid, $usereal = false, $linked = false)
+ static function getUnameFromId($userid, $usereal = false, $linked = false)
{
$myts =& MyTextSanitizer::getInstance();
$userid = intval($userid);
|