You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT count(action_id) as number FROM sys_remoteaction WHERE action_state = 'pending' AND action_type = 'backup_download' AND action_param = '$backup_id'";
$sql = "SELECT count(action_id) as number FROM sys_remoteaction WHERE action_state = 'pending' AND action_type = 'backup_restore' AND action_param = '$backup_id'";
$sql = "SELECT count(action_id) as number FROM sys_remoteaction WHERE action_state = 'pending' AND action_type = 'backup_restore_mail' AND action_param = '$backup_id'";
$instance_record = $app->db->queryOneRecord("SELECT * FROM `sys_remoteaction` WHERE `action_param`='$primary_id' and `action_type`='$action_type' and `action_state`='pending'");
365
+
if ($instance_record['action_id'] >= 1) {
366
+
$this->server->fault('duplicate_action', "There is already a pending $action_type action");
367
+
returnfalse;
368
+
}
369
+
370
+
//* Save the record
371
+
if ($app->db->query("INSERT INTO `sys_remoteaction` SET `server_id` = '$server_id', `tstamp` = '$tstamp', `action_type` = '$action_type', `action_param` = '$primary_id', `action_state` = '$action_state'")) {
$wb['f5_to_reload_js_txt'] = 'If you change this, you might have to press F5 to make the browser reload JavaScript libraries or empty your browser cache.';
50
50
$wb['client_username_web_check_disabled_txt'] = 'Disable client username check for the word \'web\'.';
51
+
$wb['backups_include_into_web_quota_txt'] = 'Include backup files into web quota.';
51
52
$wb['mailbox_show_autoresponder_tab_txt'] = 'Show autoresponder tab in mail account details';
52
53
$wb['mailbox_show_mail_filter_tab_txt'] = 'Show mail filter tab in mail account details';
53
54
$wb['mailbox_show_custom_rules_tab_txt'] = 'Show custom mailfilter tab in mail account details';
$wb['f5_to_reload_js_txt'] = 'If you change this, you might have to press F5 to make the browser reload JavaScript libraries or empty your browser cache.';
50
50
$wb['client_username_web_check_disabled_txt'] = 'Disable client username check for the word \'web\'.';
51
+
$wb['backups_include_into_web_quota_txt'] = 'Include backup files into web quota.';
51
52
$wb['mailbox_show_autoresponder_tab_txt'] = 'Show autoresponder tab in mail account details';
52
53
$wb['mailbox_show_mail_filter_tab_txt'] = 'Show mail filter tab in mail account details';
53
54
$wb['mailbox_show_custom_rules_tab_txt'] = 'Show custom mailfilter tab in mail account details';
$wb['f5_to_reload_js_txt'] = 'If you change this, you might have to press F5 to make the browser reload JavaScript libraries or empty your browser cache.';
50
50
$wb['client_username_web_check_disabled_txt'] = 'Disable client username check for the word \'web\'.';
51
+
$wb['backups_include_into_web_quota_txt'] = 'Include backup files into web quota.';
51
52
$wb['mailbox_show_autoresponder_tab_txt'] = 'Show autoresponder tab in mail account details';
52
53
$wb['mailbox_show_mail_filter_tab_txt'] = 'Show mail filter tab in mail account details';
53
54
$wb['mailbox_show_custom_rules_tab_txt'] = 'Show custom mailfilter tab in mail account details';
$wb['f5_to_reload_js_txt'] = 'Pokud vypnete tuto volbu, zřejmě budete muset používat klávesu F5, aby internetový prohlížeč znovu načetl JavaScript knihovny nebo budete muset ručně vyprázdňovat mezipaměť (cache) vašeho internetového prohlížeče.';
50
50
$wb['client_username_web_check_disabled_txt'] = 'Disable client username check for the word \'web\'.';
51
+
$wb['backups_include_into_web_quota_txt'] = 'Include backup files into web quota.';
51
52
$wb['mailbox_show_autoresponder_tab_txt'] = 'Show Autoresponder tab in Mailbox detail';
52
53
$wb['mailbox_show_mail_filter_tab_txt'] = 'Show Mail Filter tab in Mailbox detail';
53
54
$wb['mailbox_show_custom_rules_tab_txt'] = 'Show Custom Rules tab in Mailbox detail';
0 commit comments