mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Consolidate handlePageAction in plugin class, remove functions.php from plugin
This commit is contained in:
@@ -1033,10 +1033,3 @@ function renderStatus($hostapd_led, $hostapd_status, $memused_led, $memused, $cp
|
||||
<?php
|
||||
}
|
||||
|
||||
// Returns a classname without its associated namespace
|
||||
function getClassName($class)
|
||||
{
|
||||
if ($pos = strrpos($class, '\\')) return substr($class, $pos + 1);
|
||||
return $pos;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user