DataObjects/Core_notify.php
[Pman.Core] / UpdateDatabase.php
index 2ba7fad..ccbc921 100644 (file)
@@ -182,8 +182,6 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $this->runUpdateModulesData();
         
-        echo "GET HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1\n";exit;
-        
         if (!empty($opts['add-company']) && !in_array('Core', $this->disabled)) {
             // make sure we have a good cache...?
            
@@ -678,7 +676,7 @@ class Pman_Core_UpdateDatabase extends Pman
             echo "$module\n";
             $x->updateData();
         }
-                
+        
     }
     
     
@@ -1129,12 +1127,10 @@ class Pman_Core_UpdateDatabase extends Pman
     
     function generateDataobjectsCache()
     {
-        $url = "http://localhost{$this->local_base_url}/Roo/Core/RefreshDatabaseCache";
+        $url = "http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache";
             
-        $response = $this->curl($url);
+        $this->curl($url);
         
-        echo "here\n";
-        print_r($response);exit;
     }
     
     function curl($url, $request = array(), $method = 'GET') 
@@ -1161,7 +1157,7 @@ class Pman_Core_UpdateDatabase extends Pman
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         
         curl_setopt($ch, CURLOPT_HEADER, false);
-        curl_setopt($ch, CURLOPT_VERBOSE, 1);
+        curl_setopt($ch, CURLOPT_VERBOSE, 0);
         curl_setopt($ch, CURLOPT_TIMEOUT, 30);
         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);