includes/common.php
changeset 1260 cd72bcd83401
parent 1259 49db7495f6b8
child 1263 eb717f5c283f
--- a/includes/common.php	Thu Jul 01 20:24:19 2010 -0400
+++ b/includes/common.php	Thu Jul 01 20:51:53 2010 -0400
@@ -288,7 +288,7 @@
 }
 
 // If we made it here, DB is up to date.
-if ( getConfig('enano_version') !== $version && !preg_match('/^upg-/', getConfig('enano_version')) )
+if ( getConfig('enano_version') !== $version && !preg_match('/^upg-/', getConfig('enano_version')) && !defined('IN_ENANO_UPGRADE') )
 {
 	setConfig('enano_version', $version);
 	setConfig('newly_upgraded', 1);