* when update the company field, ommit the config table.

This commit is contained in:
wangchunsheng
2010-04-08 08:23:44 +00:00
parent 0ed948d0d7
commit 37f691c54a
+1 -1
View File
@@ -82,7 +82,7 @@ class upgrade extends control
foreach($userConstants as $key => $value)
{
if(strpos($key, 'TABLE') === false) continue;
if($key == 'TABLE_COMPANY') continue;
if($key == 'TABLE_COMPANY' or $key == 'TABLE_CONFIG') continue;
$this->dao->update($value)->set('company')->eq($this->app->company->id)->exec();
}
}