replaced underscore with dash in api syscalls

This commit is contained in:
Serghey Rodin 2012-11-09 18:26:32 +02:00
commit b6b7eacadb
283 changed files with 438 additions and 412 deletions

View file

@ -11,17 +11,17 @@ $action = $_POST['action'];
if ($_SESSION['user'] == 'admin') {
switch ($action) {
case 'delete': $cmd='v_delete_database';
case 'delete': $cmd='v-delete-database';
break;
case 'suspend': $cmd='v_suspend_database';
case 'suspend': $cmd='v-suspend-database';
break;
case 'unsuspend': $cmd='v_unsuspend_database';
case 'unsuspend': $cmd='v-unsuspend-database';
break;
default: header("Location: /list/db/"); exit;
}
} else {
switch ($action) {
case 'delete': $cmd='v_delete_database';
case 'delete': $cmd='v-delete-database';
break;
default: header("Location: /list/db/"); exit;
}