logo       

cvs: pearweb /include pear-database.php: msg#00009

php.pear.core

Subject: cvs: pearweb /include pear-database.php

mj Wed Oct 4 09:46:51 2006 UTC

Modified files:
/pearweb/include pear-database.php
Log:
* Added order statement to package::listAllNames().


http://cvs.php.net/viewvc.cgi/pearweb/include/pear-database.php?r1=1.312&r2=1.313&diff_format=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.312
pearweb/include/pear-database.php:1.313
--- pearweb/include/pear-database.php:1.312 Wed Oct 4 09:45:09 2006
+++ pearweb/include/pear-database.php Wed Oct 4 09:46:51 2006
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@xxxxxxx> |
| Martin Jansen <mj@xxxxxxx> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.312 2006/10/04 09:45:09 mj Exp $
+ $Id: pear-database.php,v 1.313 2006/10/04 09:46:51 mj Exp $
*/

require_once 'DB/storage.php';
@@ -833,7 +833,7 @@
{
global $dbh;

- return $dbh->getAssoc("SELECT id, name FROM packages WHERE
package_type = 'pear' AND approved = 1");
+ return $dbh->getAssoc("SELECT id, name FROM packages WHERE
package_type = 'pear' AND approved = 1 ORDER BY name");
}

// }}}

--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise