mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Mark old IpFilter and Purifier classes as deprecated
This commit is contained in:
parent
20fedd2810
commit
3c9828ec5f
2 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
class IpFilter
|
||||
{
|
||||
public static function filter($ip_list, $ip = NULL)
|
||||
|
|
@ -12,5 +15,4 @@ class IpFilter
|
|||
{
|
||||
return Rhymix\Framework\Filters\IpFilter::validateRanges($ip_list);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
class Purifier
|
||||
{
|
||||
public static function getInstance()
|
||||
|
|
@ -9,7 +12,6 @@ class Purifier
|
|||
|
||||
public function purify(&$content)
|
||||
{
|
||||
$content = Rhymix\Framework\Filters\HTMLFilter::clean($content);
|
||||
$content = Rhymix\Framework\Filters\HTMLFilter::clean((string)$content);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue