X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/0da9e6e7d82b2cb758626d1ee4eb6b3297d667b1..6ba8e4d31ed75b27167ef4841ba5cc0ba8936716:/lib/utils.inc.php diff --git a/lib/utils.inc.php b/lib/utils.inc.php index de2cbfc..b9f7cf3 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -174,6 +174,8 @@ class Utils { } private function getRestTicket($username, $password) { + global $CFG; + $result = false; $url = $CFG->wblistadm_url . '/ticket'; @@ -190,6 +192,8 @@ class Utils { } public function makeRestCall($method, $data = null) { + global $CFG; + $result; $url = $CFG->wblistadm_url . "/$method";