Removed /crash

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-13 13:23:05 +02:00
parent 996bf6b366
commit 8d7fafe167

View File

@ -59,11 +59,6 @@ class ConsoleAPI{
public function defaultCommands($cmd, $params, $issuer, $alias){ public function defaultCommands($cmd, $params, $issuer, $alias){
$output = ""; $output = "";
switch($cmd){ switch($cmd){
case "crash": //Crashes the server to generate an report
$this->callNotDefinedMethodCrash();
$this->server->api->server; //Access a private property
callNotExistingFunction();
break;
case "invisible": case "invisible":
$p = strtolower(array_shift($params)); $p = strtolower(array_shift($params));
switch($p){ switch($p){