mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-03 11:55:52 +01:00
Drop unused method
Was introduced in https://github.com/getgrav/grav-plugin-admin/commit/988f4a0389cbd89f402f d50d298aee88b9d79d71 without actual usage
This commit is contained in:
@@ -1407,15 +1407,6 @@ class Admin
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function cleanContent($content)
|
|
||||||
{
|
|
||||||
$string = strip_tags($content);
|
|
||||||
$string = htmlspecialchars_decode($string, ENT_QUOTES);
|
|
||||||
$string = str_replace("\n", ' ', $string);
|
|
||||||
|
|
||||||
return trim($string);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getRouteDetails()
|
public function getRouteDetails()
|
||||||
{
|
{
|
||||||
return [$this->base, $this->location, $this->route];
|
return [$this->base, $this->location, $this->route];
|
||||||
|
|||||||
Reference in New Issue
Block a user