fannie/classlib2.0/data/models/op/ProdUpdateModel.php
Method logUpdate
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function logUpdate($type='UNKNOWN', $user=false)
{
if (!$user) {
$user = FannieAuth::getUID(FannieAuth::checkLogin());
}
Method logManyUpdates
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function logManyUpdates($upcs, $type='UNKNOWN', $user=false)
{
if (count($upcs) == 0) {
// nothing to log
return true;