function runUpdateModulesData()
{
- $this->updateData();
- $modules = $this->modulesList();
+ // runs core...
+ $this->updateData();
+ $modules = array_reverse($this->modulesList());
+
+ // move 'project' one to the end...
+
foreach ($modules as $module){
$file = $this->rootDir. "/Pman/$module/UpdateDatabase.php";
if($module == 'Core' || !file_exists($file)){