mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
List Views: Minor adjustments to code.
This commit is contained in:
@@ -50,25 +50,24 @@
|
||||
$conferences = $_POST['conferences'];
|
||||
}
|
||||
|
||||
//process posted data by action
|
||||
//process the http post data by action
|
||||
if ($action != '' && is_array($conferences) && @sizeof($conferences) != 0) {
|
||||
$obj = new conferences;
|
||||
|
||||
switch ($action) {
|
||||
case 'copy':
|
||||
if (permission_exists('conference_add')) {
|
||||
$obj = new conferences;
|
||||
$obj->copy($conferences);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'toggle':
|
||||
if (permission_exists('conference_edit')) {
|
||||
$obj = new conferences;
|
||||
$obj->toggle($conferences);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
if (permission_exists('conference_delete')) {
|
||||
$obj = new conferences;
|
||||
$obj->delete($conferences);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user