UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:46:10 +0000 (12:46 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:46:10 +0000 (12:46 +0800)
UpdateDatabase.php

index 03eacae..ff256a4 100644 (file)
@@ -203,7 +203,7 @@ class Pman_Core_UpdateDatabase extends Pman
             return;
         }
         if (!empty($opts['debug'])) {
-             DB_DataObject::DebugLevel($opts['debug']);
+            DB_DataObject::DebugLevel($opts['debug']);
         }
       
         $this->runUpdateModulesData();
@@ -1189,8 +1189,11 @@ class Pman_Core_UpdateDatabase extends Pman
     
     function generateDataobjectsCache()
     {
+        
+        // this needs to clear it's own cache along with remote one..
+        
+        
         $url = "http://localhost{$this->local_base_url}/Core/RefreshDatabaseCache";
-            
         $this->curl($url);
         
     }