Author: jablko
Date: Fri Oct 2 15:19:51 2009
New Revision: 3649
Log:
Try tightening up some exception handling -- force
Modified:
trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php
Modified: trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php
==============================================================================
--- trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php Fri Oct 2
14:44:31 2009 (r3648)
+++ trunk/plugins/sfInstallPlugin/lib/sfInstall.class.php Fri Oct 2
15:19:51 2009 (r3649)
@@ -453,13 +453,13 @@
sfConfig::set('sf_debug', $saveDebug);
sfConfig::set('sf_logging_enabled', $saveLoggingEnabled);
- try
- {
- $databaseManager = sfContext::getInstance()->databaseManager;
+ $databaseManager = sfContext::getInstance()->databaseManager;
- // FIXME: Currently need to reload after configuring the database
- $databaseManager->loadConfiguration();
+ // FIXME: Currently need to reload after configuring the database
+ $databaseManager->loadConfiguration();
+ try
+ {
sfContext::getInstance()->getDatabaseConnection('propel');
}
catch (Exception $e)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---