1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Remove some references to deprecated functions/methods.

This commit is contained in:
Cameron
2015-02-14 23:34:15 -08:00
parent db057b3788
commit e576370e57
84 changed files with 319 additions and 317 deletions

View File

@@ -63,8 +63,7 @@ function defset($str, $default='')
*/
function varsettrue(&$val, $default='')
{
if (isset($val) && $val) { return $val; }
return $default;
return vartrue($val, $default);
}
/**
@@ -76,7 +75,9 @@ function varsettrue(&$val, $default='')
*/
function vartrue(&$val, $default='')
{
return varsettrue($val, $default);
if (isset($val) && $val) { return $val; }
return $default;
}
/**
@@ -468,7 +469,7 @@ class e_array {
/**
* @DEPRECATED: Use e107::unserialize(); instead.
* Returns an array from stored array data.
*
* @deprecated
* @param string $ArrayData
* @return array stored data
*/