goba            Sun Mar 24 05:21:32 2002 EDT

  Modified files:              
    /phpdoc/scripts     revcheck.php 
  Log:
  Moving credits check before maintainer check, so we can also count credits
  in case somone only ask for a specific maintainer
  
  
Index: phpdoc/scripts/revcheck.php
diff -u phpdoc/scripts/revcheck.php:1.20 phpdoc/scripts/revcheck.php:1.21
--- phpdoc/scripts/revcheck.php:1.20    Sun Mar 24 05:09:35 2002
+++ phpdoc/scripts/revcheck.php Sun Mar 24 05:21:32 2002
@@ -288,6 +288,14 @@
         return FALSE;
     }
 
+    // Get credits from file and collect it
+    $this_credits = get_credits($trans_file);
+    
+    // Add credits to file by maintainer list
+    foreach ($this_credits as $nick) {
+        files_by_maint(REV_CREDIT, $nick);
+    }
+
     // If we need to check for a specific translator
     if (!empty($MAINT)) {
         // Get translated files tag, with maintainer
@@ -319,12 +327,6 @@
 
     // Distribute values in separate vars for further processing
     list(, $this_rev, $this_maint, $this_status) = $trans_tag;
-    $this_credits = get_credits($trans_file);
-    
-    // Add credits to file by maintainer list
-    foreach ($this_credits as $nick) {
-        files_by_maint(REV_CREDIT, $nick);
-    }
 
     // Get translated file name (without directories)
     $trans_name = substr($trans_file, strlen($DOCDIR) + strlen($LANG) + 1);


Reply via email to