* add return value.

This commit is contained in:
wangyidong
2013-03-13 11:14:47 +00:00
parent 7dd83ab978
commit 0719791431
2 changed files with 4 additions and 0 deletions

View File

@@ -403,6 +403,7 @@ class upgradeModel extends model
{
$projects = $this->dao->select('root')->from(TABLE_MODULE)->where('type')->eq('task')->fetchPairs('root');
$this->dao->update(TABLE_PROJECT)->set('type')->eq('waterfall')->where('id')->in($projects)->exec();
return true;
}
/**
@@ -455,6 +456,7 @@ class upgradeModel extends model
->set('method')->eq('deleteEstimate')
->exec();
}
return true;
}
/**