|
From: Greg M. <bli...@us...> - 2008-06-11 02:53:56
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28388/boost Modified Files: boost.php dependency.xml update.php Log Message: Purge deleted site users. Now requiring phpWebSite 1.5.2 Index: dependency.xml =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/dependency.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dependency.xml 2 Jan 2008 21:59:24 -0000 1.1 --- dependency.xml 11 Jun 2008 02:53:28 -0000 1.2 *************** *** 7,9 **** --- 7,15 ---- <url>http://phpwebsite.appstate.edu/downloads/modules/base/</url> </module> + <module> + <title>users</title> + <properName>Users</properName> + <version>2.5.0</version> + <url>http://phpwebsite.appstate.edu/downloads/modules/users/</url> + </module> </dependency> Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/boost.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** boost.php 2 Jan 2008 21:59:24 -0000 1.1 --- boost.php 11 Jun 2008 02:53:28 -0000 1.2 *************** *** 10,19 **** * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. ! * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software --- 10,19 ---- * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. ! * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. ! * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software *************** *** 25,29 **** $proper_name = 'Mailing Lists'; ! $version = '1.0.0'; $register = FALSE; $unregister = FALSE; --- 25,29 ---- $proper_name = 'Mailing Lists'; ! $version = '1.1.0'; $register = FALSE; $unregister = FALSE; Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/update.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** update.php 2 Jan 2008 21:59:24 -0000 1.20 --- update.php 11 Jun 2008 02:53:28 -0000 1.21 *************** *** 26,30 **** function mailinglists_update(&$content, $currentVersion) { ! /* Can not update from versions earlier than 1.0.0. */ return true; } --- 26,35 ---- function mailinglists_update(&$content, $currentVersion) { ! switch ($currentVersion) ! { ! case version_compare($currentVersion, '1.1.0', '<'): ! $content[] = '- Purge deleted site users.'; ! } ! return true; } |