This commit is contained in:
Julio Cesar Laura Avendaño
2019-04-04 14:44:33 -04:00
parent 90a7b778a1
commit 0da9afd8d3
6 changed files with 350 additions and 3 deletions

View File

@@ -4623,4 +4623,16 @@ class WorkspaceTools
}
}
}
/**
* Execute a query, used internally for the upgrade process
*
* @param string $query
* @param bool $rbac
*/
public function upgradeQuery($query, $rbac)
{
$database = $this->getDatabase($rbac);
$database->executeQuery($query, true);
}
}