Fix missing DB object in module::migrateDomains()

This commit is contained in:
Kijin Sung 2017-02-20 21:51:16 +09:00
parent aae4d884c1
commit 4e4ef2f762

View file

@ -394,6 +394,7 @@ class module extends ModuleObject
function migrateDomains()
{
// Create the domains table.
$oDB = DB::getInstance();
if (!$oDB->isTableExists('domains'))
{
$oDB->createTableByXmlFile($this->module_path . 'schemas/domains.xml');