m1guelpf/LicAPI

View on GitHub

Showing 1 of 5 total issues

Method updateActivity has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function updateActivity($type, $title)
    {
        global $mysqli;
        $activityIp = $_SERVER['REMOTE_ADDR'];
        $userAgnt = $_SERVER['HTTP_USER_AGENT'];
Severity: Minor
Found in functions.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language