Changeset 21913 for main/branches

Show
Ignore:
Timestamp:
20.04.2010 11:17:30 (9 years ago)
Author:
xiao
Message:

merge updates from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/branches/stable_gs3/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java

    r20297 r21913  
    10301030            success = deactivateModule(module_type, module_name); 
    10311031            if (success) { 
    1032               Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" deactivated"); 
     1032              Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" deactivated",  
     1033                      GSXML.SYSTEM_TYPE_DEACTIVATE, GSXML.SUCCESS); 
    10331034              response.appendChild(s); 
    10341035            } else { 
    1035               Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" could not be deactivated"); 
     1036              Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" could not be deactivated", 
     1037                      GSXML.SYSTEM_TYPE_DEACTIVATE, GSXML.ERROR); 
    10361038              response.appendChild(s); 
    10371039            } 
     
    10491051            } 
    10501052            if (success) { 
    1051               Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" activated"); 
     1053              Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" activated", 
     1054                      GSXML.SYSTEM_TYPE_ACTIVATE, GSXML.SUCCESS); 
    10521055              response.appendChild(s); 
    10531056            } else { 
    1054               Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" could not be activated"); 
     1057              Element s = GSXML.createTextElement(this.doc, GSXML.STATUS_ELEM, module_type+": "+module_name+" could not be activated", 
     1058                      GSXML.SYSTEM_TYPE_ACTIVATE, GSXML.ERROR); 
    10551059              response.appendChild(s); 
    10561060            }