Skip to content

Commit

Permalink
[1.0, 1.1, 1.2, 1.3] code-cleanup. Being DRY (r17713) helps to elimin…
Browse files Browse the repository at this point in the history
…ate waste

git-svn-id: http://svn.symfony-project.com/branches/1.0@17714 ee427ae8-e902-0410-961c-c3ed070cd9f9
  • Loading branch information
FabianLange authored and FabianLange committed Apr 28, 2009
1 parent 65a229f commit 6c5f02a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/config/sfViewConfigHandler.class.php
Expand Up @@ -242,9 +242,6 @@ protected function addHtmlHead($viewName = '')
protected function addHtmlAsset($viewName = '')
{
$data = array();
$omit = array();
$delete = array();
$delete_all = false;

// Merge the current view's stylesheets with the app's default stylesheets
$stylesheets = $this->mergeConfigValue('stylesheets', $viewName);
Expand Down Expand Up @@ -286,9 +283,6 @@ protected function addHtmlAsset($viewName = '')

$data = array_merge($data, array_values($tmp));

$omit = array();
$delete_all = false;

// Populate $javascripts with the values from ONLY the current view
$javascripts = $this->mergeConfigValue('javascripts', $viewName);
$tmp = array();
Expand Down

0 comments on commit 6c5f02a

Please sign in to comment.