Removed logging

This commit is contained in:
snipe 2017-01-06 03:12:49 -08:00
parent a6e6991a2d
commit 9fd3a9a82d

View file

@ -490,9 +490,7 @@ class Asset extends Depreciable
->max('asset_tag'); ->max('asset_tag');
$asset_tag_digits = preg_replace('/\D/', '', $temp_asset_tag); $asset_tag_digits = preg_replace('/\D/', '', $temp_asset_tag);
\Log::info('New asset tag base will be:'. $asset_tag_digits;
$asset_tag = preg_replace('/^0*/', '', $asset_tag_digits); $asset_tag = preg_replace('/^0*/', '', $asset_tag_digits);
\Log::info('New asset tag will be:'. $asset_tag;
if ($settings->zerofill_count > 0) { if ($settings->zerofill_count > 0) {
return $settings->auto_increment_prefix.Asset::zerofill(($asset_tag + 1),$settings->zerofill_count); return $settings->auto_increment_prefix.Asset::zerofill(($asset_tag + 1),$settings->zerofill_count);