Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed too early class call

  • Loading branch information...
commit 6e07fbe66aacecf415e7ec33d1dd5ced1e13959b 1 parent 857060b
David Pommer authored zombor committed
Showing with 0 additions and 2 deletions.
  1. +0 −2  classes/kohana/view.php
2  classes/kohana/view.php
View
@@ -44,7 +44,6 @@ class Kohana_View {
*/
public static function factory($file = NULL, array $data = NULL)
{
- return new View($file);
// Return a raw view object if no template is specified.
if ($file === FALSE)
return new View(FALSE, $data);
@@ -172,7 +171,6 @@ public function __construct($file = NULL, array $data = NULL)
{
$this->set_filename($file);
}
-
if ( $data !== NULL)
{
Please sign in to comment.
Something went wrong with that request. Please try again.