[csw-devel] SF.net SVN: opencsw:[616] web/wordpresscsw/wp-content/themes/opencsw/ packagesDAO.php

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sat Mar 17 03:29:19 CET 2012


Revision: 616
          http://opencsw.svn.sourceforge.net/opencsw/?rev=616&view=rev
Author:   wbonnet
Date:     2012-03-17 02:29:19 +0000 (Sat, 17 Mar 2012)
Log Message:
-----------
screen _stub packages from the global package list

Modified Paths:
--------------
    web/wordpresscsw/wp-content/themes/opencsw/packagesDAO.php

Modified: web/wordpresscsw/wp-content/themes/opencsw/packagesDAO.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/packagesDAO.php	2012-02-23 20:12:57 UTC (rev 615)
+++ web/wordpresscsw/wp-content/themes/opencsw/packagesDAO.php	2012-03-17 02:29:19 UTC (rev 616)
@@ -146,7 +146,7 @@
     function getListOfPackages() {
 
         // Define the query used to retrieve the packages from the database
-        $sqlQuery  = "select software, version, description, pkgname from packages order by software asc ; " ;
+        $sqlQuery  = "select software, version, description, pkgname from packages where software not like '%_stub' order by software asc ; " ;
 
         // Execute the query to retrieve the row to update
         $this->execQuery($sqlQuery);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list