Small optimalizations [skip ci]

This commit is contained in:
James Cole
2015-05-09 19:27:25 +02:00
parent 66198a8d98
commit 9395454997
3 changed files with 1 additions and 13 deletions

View File

@@ -187,17 +187,6 @@ class GoogleChartController extends Controller
if ($entry[1] != 0 || $entry[2] != 0 || $entry[3] != 0) {
$chart->addRow($entry[0], $entry[1], $entry[2], $entry[3]);
}
// if ($entry[2] > 0) {
// $left = $entry[1] - $entry[2];
// if ($left > 0) {
// $chart->addRow($entry[0], $left, null);
// } else {
// if ($left < 0) {
// $chart->addRow($entry[0], null, $left);
// }
// }
//
// }
}
$chart->generate();

View File

@@ -2,7 +2,6 @@
namespace FireflyIII\Support;
use Cache;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionCurrency;
use FireflyIII\Models\TransactionJournal;

View File

@@ -7,4 +7,4 @@ return [
'mandatoryFields' => 'Mandatory fields',
'optionalFields' => 'Optional fields',
'options' => 'Options'
];
];