mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Display module that is setted 'have_instance' on easyinstall server at add menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12292 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
76c448d62e
commit
30ba6b7835
9 changed files with 55 additions and 2 deletions
|
|
@ -108,6 +108,12 @@ class autoinstall extends ModuleObject
|
|||
$config = $oModuleModel->getModuleConfig('autoinstall');
|
||||
if(!isset($config->downloadServer)) return true;
|
||||
|
||||
// 2012.11.12 add column 'have_instance' in autoinstall_packages
|
||||
if(!$oDB->isColumnExists('autoinstall_packages', 'have_instance'))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -148,6 +154,12 @@ class autoinstall extends ModuleObject
|
|||
$oModuleController->insertModuleConfig('autoinstall', $config);
|
||||
}
|
||||
|
||||
// 2012.11.12 add column 'have_instance' in autoinstall_packages
|
||||
if(!$oDB->isColumnExists('autoinstall_packages', 'have_instance'))
|
||||
{
|
||||
$oDB->addColumn('autoinstall_packages', 'have_instance', 'char', '1', 'N', TRUE);
|
||||
}
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue