mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-01 19:16:13 -04:00
bumping required PHP to 5.4, removing unneccessary code, resolves #186
This commit is contained in:
parent
db429d42d2
commit
823adb78ef
5 changed files with 3 additions and 32 deletions
|
@ -21,21 +21,6 @@ use Exception;
|
|||
*/
|
||||
class Filter
|
||||
{
|
||||
/**
|
||||
* strips slashes deeply
|
||||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @param mixed $value
|
||||
* @return mixed
|
||||
*/
|
||||
public static function stripslashesDeep($value)
|
||||
{
|
||||
return is_array($value) ?
|
||||
array_map('self::stripslashesDeep', $value) :
|
||||
stripslashes($value);
|
||||
}
|
||||
|
||||
/**
|
||||
* format a given time string into a human readable label (localized)
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue