Commit c54173bc by Taylor Otwell

Remove View::$last.

parent dc49a4aa
......@@ -17,13 +17,6 @@ class View {
public $data = array();
/**
* The name of last rendered view.
*
* @var string
*/
public static $last;
/**
* Create a new view instance.
*
* @param string $view
......@@ -55,8 +48,6 @@ class View {
*/
public function get()
{
static::$last = $this->view;
// Get the evaluated content of all of the sub-views.
foreach ($this->data as &$data)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment