Development

Changeset 11798

You must first sign up to be able to contribute.

Changeset 11798

Show
Ignore:
Timestamp:
09/26/08 15:07:54 (6 years ago)
Author:
fabien
Message:

[1.2] fixed locking problem with symfony cache:clear task (closes #4470)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/task/cache/sfCacheClearTask.class.php

    r11433 r11798  
    102102        $this->logSection('cache', sprintf('Clearing cache type "%s" for "%s" app and "%s" env', $options['type'], $app, $env)); 
    103103 
     104        $appConfiguration = ProjectConfiguration::getApplicationConfiguration($app, $env, true); 
     105 
    104106        $this->lock($app, $env); 
    105107 
    106         $appConfiguration = ProjectConfiguration::getApplicationConfiguration($app, $env, true); 
    107108        $event = $appConfiguration->getEventDispatcher()->notifyUntil(new sfEvent($this, 'task.cache.clear', array('app' => $appConfiguration, 'env' => $env, 'type' => $options['type']))); 
    108109        if (!$event->isProcessed())