Skip to content

Commit

Permalink
Removing: ->CI->load->clear_vars();
Browse files Browse the repository at this point in the history
  • Loading branch information
bkader committed Nov 25, 2017
1 parent de87896 commit ad66b95
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions application/libraries/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,6 @@ protected function _load_file($type = 'view', $view = '', $data = array(), $retu
$found = true;
$this->CI->load->vars($data);
$output = $this->CI->load->file($path.$view.'.php', $return);
$this->CI->load->clear_vars();
break;
}
}
Expand Down Expand Up @@ -1291,7 +1290,6 @@ protected function _load_file($type = 'view', $view = '', $data = array(), $retu
$found = true;
$this->CI->load->vars($data);
$output = $this->CI->load->file($path.$view.'.php', $return);
$this->CI->load->clear_vars();
break;
}
}
Expand Down Expand Up @@ -1343,7 +1341,6 @@ protected function _load_file($type = 'view', $view = '', $data = array(), $retu
$found = true;
$this->CI->load->vars($data);
$output = $this->CI->load->file($path.$view.'.php', $return);
$this->CI->load->clear_vars();
break;
}
}
Expand Down Expand Up @@ -1398,7 +1395,6 @@ protected function _load_file($type = 'view', $view = '', $data = array(), $retu
$found = true;
$this->CI->load->vars($data);
$output = $this->CI->load->file($path.$view.'.php', $return);
$this->CI->load->clear_vars();
break;
}
}
Expand Down
Empty file.

0 comments on commit ad66b95

Please sign in to comment.