beatify code

This commit is contained in:
Joshua P Panter 2018-09-06 18:31:00 -04:00
parent 04bdfc1ed0
commit f562ab8fa1
No known key found for this signature in database
GPG Key ID: 59903022E9AC64FC

View File

@ -38,7 +38,6 @@ class AuthmgrCapability {
const ViewStats = 'ViewStats';
}
/********** Add hooks to intercept functionality in CORE ********/
yourls_add_action( 'load_template_infos', 'authmgr_intercept_stats' );
@ -382,8 +381,7 @@ function authmgr_environment_check() {
* Borrowed from:
* http://stackoverflow.com/questions/594112/matching-an-ip-to-a-cidr-mask-in-php5
*/
function authmgr_cidr_match($ip, $range)
{
function authmgr_cidr_match($ip, $range) {
list ($subnet, $bits) = split('/', $range);
$ip = ip2long($ip);
$subnet = ip2long($subnet);