#18961156 : added mcontent for page module

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7541 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-23 13:22:44 +00:00
parent 6fe6168859
commit a9a2ac6c4f
2 changed files with 5 additions and 0 deletions

View file

@ -76,6 +76,7 @@
if(!$oDB->isColumnExists("modules", "use_mobile")) return true;
if(!$oDB->isColumnExists("modules", "mlayout_srl")) return true;
if(!$oDB->isColumnExists("modules", "mcontent")) return true;
return false;
}
@ -307,6 +308,9 @@
if(!$oDB->isColumnExists("modules", "mlayout_srl")) {
$oDB->addColumn('modules','mlayout_srl','number',11, 0);
}
if(!$oDB->isColumnExists("modules", "mcontent")) {
$oDB->addColumn('modules','mcontent','bigtext');
}
return new Object(0, 'success_updated');
}