@@ 2196-2199 (lines=4) @@ | ||
2193 | * @return boolean success |
|
2194 | */ |
|
2195 | function gm($msg) { |
|
2196 | if(empty($msg)) { |
|
2197 | $this->addDebugLog('empty message given'); |
|
2198 | return $this->generateOutput(false, array('Error: empty message given'), false); |
|
2199 | } |
|
2200 | return $this->getData('boolean', 'gm msg='.$this->escapeText($msg)); |
|
2201 | } |
|
2202 | ||
@@ 4262-4265 (lines=4) @@ | ||
4259 | return $this->generateOutput(false, array('Error: '.$mode.' is an invalid mode'), false); |
|
4260 | } |
|
4261 | ||
4262 | if(empty($command)) { |
|
4263 | $this->addDebugLog('you have to enter a command'); |
|
4264 | return $this->generateOutput(false, array('Error: you have to enter a command'), false); |
|
4265 | } |
|
4266 | ||
4267 | $fetchData = $this->executeCommand($command, debug_backtrace()); |
|
4268 |