cvs: pearweb /cron find-documentation.php
| From: | Martin Jansen | Date: | Sun, 09 Apr 2006 19:28:10 +0000 |
| Subject: | cvs: pearweb /cron find-documentation.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4706@lists.php.net to get a copy of this message | ||
mj Sun Apr 9 19:28:10 2006 UTC
Modified files:
/pearweb/cron find-documentation.php
Log:
* Keep the same style throughout the whole query.
http://cvs.php.net/viewcvs.cgi/pearweb/cron/find-documentation.php?r1=1.5&r2=1.6&diff_format=u
Index: pearweb/cron/find-documentation.php
diff -u pearweb/cron/find-documentation.php:1.5 pearweb/cron/find-documentation.php:1.6
--- pearweb/cron/find-documentation.php:1.5 Sat Apr 8 15:32:49 2006
+++ pearweb/cron/find-documentation.php Sun Apr 9 19:28:10 2006
@@ -16,13 +16,13 @@
* | Authors: Martin Jansen <mj@php.net> |
* +----------------------------------------------------------------------+
*
- * $Id: find-documentation.php,v 1.5 2006/04/08 15:32:49 pajoye Exp $
+ * $Id: find-documentation.php,v 1.6 2006/04/09 19:28:10 mj Exp $
*/
/**
* Trying to find documentation URLs for PEAR packages in the peardoc Docbook sources
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
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 NOT LIKE 'http://%' OR
doc_link LIKE 'http://pear.php.net/%'");
// {{{ readFolder()