rollback r10123

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10127 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-02-15 10:26:32 +00:00
parent 35a365af51
commit 9542921096
4 changed files with 3 additions and 36 deletions

View file

@ -59,15 +59,13 @@
$oDocument = $oDocumentModel->getDocument($document_srl);
Context::set('oDocument', $oDocument);
if (!isset($document_srl)) $document_srl = getNextSequence();
$oModuleModel = &getModel('module');
$columnList = array('module_srl', 'mid');
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl, $columnList);
Context::set('module_info', $module_info);
// Editors settings of the module by calling getEditor
$oEditorModel = &getModel('editor');
$editor = $oEditorModel->getModuleEditor('document',$module_srl, $document_srl,'document_srl','content');
$editor = $oEditorModel->getModuleEditor('document',$module_srl, $module_srl,'module_srl','content');
Context::set('editor', $editor);
$security = new Security();