Development

Changeset 7431

You must first sign up to be able to contribute.

Changeset 7431

Show
Ignore:
Timestamp:
02/09/08 14:19:20 (10 months ago)
Author:
fabien
Message:

simplified a call in sfComponent

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/action/sfComponent.class.php

    r7215 r7431  
    143143    if (sfConfig::get('sf_web_debug') && sfConfig::get('sf_logging_enabled')) 
    144144    { 
    145       sfContext::getInstance()->getEventDispatcher()->notify(new sfEvent(null, 'application.log', array('This feature is deprecated in favor of the log_message helper.', 'priority' => sfLogger::ERR))); 
     145      $this->dispatcher->notify(new sfEvent(null, 'application.log', array('This feature is deprecated in favor of the log_message helper.', 'priority' => sfLogger::ERR))); 
    146146    } 
    147147  }