Development

Changeset 7509

You must first sign up to be able to contribute.

Changeset 7509

Show
Ignore:
Timestamp:
02/16/08 09:18:58 (9 months ago)
Author:
fabien
Message:

removed redundant initialize() call

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/config/sfRootConfigHandler.class.php

    r4597 r7509  
    8686 
    8787      // append new data 
    88       $data[] = sprintf("\$this->handlers['%s'] = new %s();", $category, $class); 
    89  
    90       // initialize the handler with parameters 
    91       $data[] = sprintf("\$this->handlers['%s']->initialize(%s);", $category, $parameters); 
     88      $data[] = sprintf("\$this->handlers['%s'] = new %s(%s);", $category, $class, $parameters); 
    9289    } 
    9390