XoopsModules25x/smallworld

View on GitHub
admin/upgrade.php

Summary

Maintainability
A
1 hr
Test Coverage

Method smallworld_userDefaultNull has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function smallworld_userDefaultNull()
{    
    global $xoopsDB;
    $sql = "ALTER TABLE  " . $xoopsDB->prefix('smallworld_user') . " CHANGE `id` `id` INT(5) UNSIGNED NOT NULL AUTO_INCREMENT, 
    CHANGE `userimage` `userimage` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL, 
Severity: Minor
Found in admin/upgrade.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status