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);
- Re: [PHP-DOC] cvs: phpdoc /scripts r... Slawomir Pucia
- Re: [PHP-DOC] cvs: phpdoc /scri... Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Mark Kronsbein
- [PHP-DOC] Re: cvs: phpdoc /scripts revcheck.php Thomas Schöfbeck
- Re: [PHP-DOC] Re: cvs: phpdoc /scripts revch... Mark Kronsbein
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- Re: [PHP-DOC] cvs: phpdoc /scripts revcheck.php Sławomir Pucia
- [PHP-DOC] Re: cvs: phpdoc /scripts revcheck.php Thomas Schöfbeck
- Re: [PHP-DOC] cvs: phpdoc /scripts revcheck.php Mark Kronsbein
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Slawomir Pucia
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Thomas Schoefbeck
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Thomas Schoefbeck
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Thomas Schoefbeck
- Re: [PHP-DOC] cvs: phpdoc /scripts revcheck.php Gabor Hojtsy
- Re: [PHP-DOC] cvs: phpdoc /scripts revcheck.... Thomas Schöfbeck
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Thomas Schoefbeck
- [PHP-DOC] cvs: phpdoc /scripts revcheck.php Thomas Schoefbeck