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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Mon Mar 26 02:30:26 CEST 2012


Revision: 617
          http://opencsw.svn.sourceforge.net/opencsw/?rev=617&view=rev
Author:   wbonnet
Date:     2012-03-26 00:30:25 +0000 (Mon, 26 Mar 2012)
Log Message:
-----------
Mask stub packages from list of packages owned by a maintainer

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

Modified: web/wordpresscsw/wp-content/themes/opencsw/maintainersDAO.php
===================================================================
--- web/wordpresscsw/wp-content/themes/opencsw/maintainersDAO.php	2012-03-17 02:29:19 UTC (rev 616)
+++ web/wordpresscsw/wp-content/themes/opencsw/maintainersDAO.php	2012-03-26 00:30:25 UTC (rev 617)
@@ -227,7 +227,7 @@
     function getPackageListForMaintainer($maintName) {
 
         // Define the query used to retrieve the packages from the database
-        $sqlQuery  = "select pkgname, description, software, vendorurl from packages where maintlogin = '" . $maintName . "' order by pkgname asc; " ;
+        $sqlQuery  = "select pkgname, description, software, vendorurl from packages where maintlogin = '" . $maintName . "' and software not like '%_stub' order by pkgname 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