Permalink
Browse files

renamded changes to sloc

  • Loading branch information...
1 parent 6583490 commit 5b3dded58030deb920940314aab52c1d502a7d1a @aurora committed May 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 libs/plugins/gitgraph.class.php
@@ -94,7 +94,7 @@ class gitgraph extends plugin
* @octdoc p:gitgraph/$graphs
* @var array
*/
- protected $graphs = array('commits', 'commits_avg', 'files', 'files_avg', 'changes', 'changes_avg');
+ protected $graphs = array('commits', 'commits_avg', 'files', 'files_avg', 'sloc', 'sloc_avg');
/**/
/**
@@ -685,7 +685,7 @@ protected function graph($data, array $types)
public function parse($content)
/**/
{
- if (count(array_intersect($this->render_graphs, array('files', 'files_avg', 'changes', 'changes_avg'))) > 0) {
+ if (count(array_intersect($this->render_graphs, array('files', 'files_avg', 'sloc', 'sloc_avg'))) > 0) {
$data = $this->collectFull();
} else {
$data = $this->collectCommits();

0 comments on commit 5b3dded

Please sign in to comment.