cvs: pearweb /cron find-documentation.php
| From: | Martin Jansen | Date: | Sat, 13 Jan 2007 11:10:01 +0000 |
| Subject: | cvs: pearweb /cron find-documentation.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5345@lists.php.net to get a copy of this message | ||
mj Sat Jan 13 11:10:01 2007 UTC
Modified files:
/pearweb/cron find-documentation.php
Log:
* Fixed script to find documentation links.
http://cvs.php.net/viewvc.cgi/pearweb/cron/find-documentation.php?r1=1.7&r2=1.8&diff_format=u
Index: pearweb/cron/find-documentation.php
diff -u pearweb/cron/find-documentation.php:1.7 pearweb/cron/find-documentation.php:1.8
--- pearweb/cron/find-documentation.php:1.7 Wed Apr 19 17:57:44 2006
+++ pearweb/cron/find-documentation.php Sat Jan 13 11:10:01 2007
@@ -16,13 +16,13 @@
* | Authors: Martin Jansen <mj@php.net> |
* +----------------------------------------------------------------------+
*
- * $Id: find-documentation.php,v 1.7 2006/04/19 17:57:44 pajoye Exp $
+ * $Id: find-documentation.php,v 1.8 2007/01/13 11:10:01 mj Exp $
*/
/**
* Trying to find documentation URLs for PEAR packages in the peardoc Docbook sources
*
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
require_once "PEAR.php";
require_once "VFS.php";
@@ -45,7 +45,7 @@
}
$update = $dbh->prepare("UPDATE packages SET doc_link = ?
- WHERE name = ? AND (doc_link NOT LIKE 'http://%' OR
doc_link LIKE 'http://pear.php.net/%')");
+ WHERE name = ? AND (doc_link IS NULL OR doc_link NOT LIKE 'http://%' OR doc_link LIKE 'http://pear.php.net/%')");
// {{{ readFolder()