Development

Changeset 12865

You must first sign up to be able to contribute.

Changeset 12865

Show
Ignore:
Timestamp:
11/10/08 09:06:02 (8 months ago)
Author:
fabien
Message:

[1.2] added sfCompat10Plugin in excluded plugins when migrating (which was the case in symfony 1.1)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/task/project/upgrade1.2/sfConfigurationUpgrade.class.php

    r12639 r12865  
    2626    if (!preg_match('/(enablePlugins|disablePlugins|enableAllPluginsExcept)/', $content)) 
    2727    { 
    28       $content = preg_replace("#(setup\(\)\s+{\s+)#s", "$1  \$this->enableAllPluginsExcept('sfDoctrinePlugin');\n  ", $content, -1, $count); 
     28      $content = preg_replace("#(setup\(\)\s+{\s+)#s", "$1  \$this->enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin));\n  ", $content, -1, $count); 
    2929      if ($count) 
    3030      { 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.