Showing 1 of 7 total issues
Method deactivate_parallels_by_key
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function deactivate_parallels_by_key($key)
{
myadmin_log('licenses', 'info', "Parallels Deactivation ({$key})", __LINE__, __FILE__);
$parallels = new \Detain\Parallels\Parallels();
$status = json_decode(file_get_contents(__DIR__.'/../../../../include/config/plesk.json'), true);