]> git.datanom.net - qtadmin.git/commitdiff
prepare for wblistadm server
authorMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 00:24:30 +0000 (02:24 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 00:24:30 +0000 (02:24 +0200)
lib/utils.inc.php

index de2cbfcc63e7be3f3bc35c2e2c26af653bb70d16..b9f7cf394c1f9ba82e2383317cb18310eb685fe5 100644 (file)
@@ -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";
This page took 0.030785 seconds and 5 git commands to generate.