Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
Removed extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier committed May 3, 2014
1 parent 2c66591 commit e39c888
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/SurfStack/Templating/Template_Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,6 @@ protected function loadPlugins()
{
$return[$name] = '/\{\s*('.$name.')\s*(.*?)\}/i';
}

require_once $file;
}
}
}
Expand Down Expand Up @@ -794,9 +792,6 @@ function render()
// Mark the cache as not current
$this->setInternal('WasCached', false);

// Load the plugins
$this->loadPlugins();

// Update the compile (and the cache)
$this->updateCompile();
}
Expand All @@ -811,9 +806,6 @@ function render()
// Mark the compile as not current
$this->setInternal('WasCompiled', false);

// Load the plugins
$this->loadPlugins();

// Update the compile (and the cache)
$this->updateCompile();
}
Expand All @@ -823,10 +815,7 @@ function render()
}
// Else caching is not enabled
else
{
// Load the plugins
$this->loadPlugins();

{
// If the compile is current
if ($this->isCompileCurrent())
{
Expand Down

0 comments on commit e39c888

Please sign in to comment.