Skip to content

Commit

Permalink
Removed references to cached variables as accessing cached variables …
Browse files Browse the repository at this point in the history
…in the loader class are now set to protected and thus cannot be accessed.
  • Loading branch information
Vheissu committed May 8, 2011
1 parent d181d6d commit 1d825e4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/MY_Parser.php
Expand Up @@ -33,12 +33,6 @@ public function parse($template, $data = '', $return = FALSE, $use_theme = FALSE
$template = $template.".".$this->CI->smarty->template_ext;
}

// Merge in any cached variables with our supplied variables
if (is_array($data))
{
$data = array_merge($data, $this->CI->load->_ci_cached_vars);
}

// If we have variables to assign, lets assign them
if ($data)
{
Expand Down

0 comments on commit 1d825e4

Please sign in to comment.