DataObjects/Core_notify.php
[Pman.Core] / UpdateDatabase.php
index 07e5b74..ccbc921 100644 (file)
@@ -182,7 +182,6 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $this->runUpdateModulesData();
         
-        
         if (!empty($opts['add-company']) && !in_array('Core', $this->disabled)) {
             // make sure we have a good cache...?
            
@@ -677,7 +676,7 @@ class Pman_Core_UpdateDatabase extends Pman
             echo "$module\n";
             $x->updateData();
         }
-                
+        
     }
     
     
@@ -1128,9 +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";
             
         $this->curl($url);
+        
     }
     
     function curl($url, $request = array(), $method = 'GET') 
@@ -1157,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);