Skip to content

Commit 031054b

Browse files
committed
Changed functions from "private" to "protected" in remote library.
Changed onClick function in DNS resync temlate.
1 parent 077c277 commit 031054b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

interface/lib/classes/remoting.inc.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,12 +2107,12 @@ public function dns_txt_delete($session_id, $primary_id)
21072107

21082108

21092109

2110-
//** private functions -----------------------------------------------------------------------------------
2110+
//** protected functions -----------------------------------------------------------------------------------
21112111

21122112

21132113

21142114

2115-
private function klientadd($formdef_file, $reseller_id, $params)
2115+
protected function klientadd($formdef_file, $reseller_id, $params)
21162116
{
21172117
global $app, $tform, $remoting_lib;
21182118
$app->uses('remoting_lib');
@@ -2167,7 +2167,7 @@ private function klientadd($formdef_file, $reseller_id, $params)
21672167
return $insert_id;
21682168
}
21692169

2170-
private function insertQuery($formdef_file, $client_id, $params,$event_identifier = '')
2170+
protected function insertQuery($formdef_file, $client_id, $params,$event_identifier = '')
21712171
{
21722172
global $app, $tform, $remoting_lib;
21732173

@@ -2211,7 +2211,7 @@ private function insertQuery($formdef_file, $client_id, $params,$event_identifie
22112211
}
22122212

22132213

2214-
private function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '')
2214+
protected function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '')
22152215
{
22162216
global $app;
22172217

@@ -2257,7 +2257,7 @@ private function updateQuery($formdef_file, $client_id, $primary_id, $params, $e
22572257
return $affected_rows;
22582258
}
22592259

2260-
private function deleteQuery($formdef_file, $primary_id, $event_identifier = '')
2260+
protected function deleteQuery($formdef_file, $primary_id, $event_identifier = '')
22612261
{
22622262
global $app;
22632263

@@ -2301,7 +2301,7 @@ private function deleteQuery($formdef_file, $primary_id, $event_identifier = '')
23012301
}
23022302

23032303

2304-
private function checkPerm($session_id, $function_name)
2304+
protected function checkPerm($session_id, $function_name)
23052305
{
23062306
$dobre=array();
23072307
$session = $this->getSession($session_id);
@@ -2314,7 +2314,7 @@ private function checkPerm($session_id, $function_name)
23142314
}
23152315

23162316

2317-
private function getSession($session_id)
2317+
protected function getSession($session_id)
23182318
{
23192319
global $app;
23202320

interface/web/tools/templates/dns_resync.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2><tmpl_var name="list_head_txt"></h2>
2323
<input type="hidden" name="id" value="{tmpl_var name='id'}">
2424

2525
<div class="buttonHolder buttons">
26-
<button class="positive iconstxt icoPositive" type="button" value="Import" onClick="submitUploadForm('pageForm','tools/dns_resync.php');"><span>Start</span></button>
26+
<button class="positive iconstxt icoPositive" type="button" value="Import" onClick="submitForm('pageForm','tools/dns_resync.php');"><span>Start</span></button>
2727
<button class="negative iconstxt icoNegative" type="button" value="Cancel" onClick="loadContent('tools/index.php');"><span>Cancel</span></button>
2828
</div>
2929
</div>

0 commit comments

Comments
 (0)