fix #7754 - fix download and upload for translations
[Pman.Admin] / UpdateBjsTemplates.php
index 5ca48a9..b4aff11 100644 (file)
@@ -50,7 +50,8 @@ class Pman_Admin_UpdateBjsTemplates extends Pman
          
     }
     
-    function updateData()
+    function updateData() // this does everything?? not used?
+    
     {   
         $this->scanProjectBJS();
         $this->scanPmanBJS();
@@ -67,7 +68,7 @@ class Pman_Admin_UpdateBjsTemplates extends Pman
         
     }
     
-    function scanProjectBJS()
+    function scanProjectBJS()  // this is probably not used (replace by the CMS scanner)
     {
         $ff = HTML_FlexyFramework::get();
         
@@ -127,7 +128,6 @@ class Pman_Admin_UpdateBjsTemplates extends Pman
     
     function scanPmanBJS()
     {
-        
         $ids = array();
         foreach ($this->modules() as $m){
             $view_name = "Pman.$m";
@@ -173,7 +173,7 @@ class Pman_Admin_UpdateBjsTemplates extends Pman
                 $template->updated = $template->sqlValue("NOW()");
 
                 (empty($o)) ? $template->insert() : $template->update($o);
-                
+
                 if (strtotime($updated) >= filemtime('Pman' . '/' . $m . '/' . $fn)) {
                     continue;
                 }