Update of /cvsroot/phpwebsite-comm/modules/jobman/boost
In directory sc8-pr-cvs1:/tmp/cvs-serv27040/boost
Modified Files:
uninstall.php
Log Message:
multiple modifications to version 1.3
Index: uninstall.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/jobman/boost/uninstall.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** uninstall.php 25 Jun 2003 22:13:09 -0000 1.2
--- uninstall.php 24 Sep 2003 23:38:47 -0000 1.3
***************
*** 2,6 ****
/**
! * Uninstall file for Jobman v1
*
* @version $Id$
--- 2,6 ----
/**
! * Uninstall file for jobman
*
* @version $Id$
***************
*** 27,30 ****
--- 27,42 ----
}
+ /* remove any jobman fatcat items */
+ if(isset($_SESSION["OBJ_fatcat"])) {
+ if(PHPWS_Fatcat::purge(NULL, "jobman"))
+ $content .= "Removed any jobs in fatcat categories.<br />";
+ }
+
+ /* uninstall menu item, if any */
+ if (isset($_SESSION["OBJ_menuman"])) {
+ if($GLOBALS["core"]->sqlDelete("mod_menuman_items", "menu_item_url", "%module=jobman%", "LIKE"))
+ $content .= "Removed link to Positions Available from menu.<br />";
+ }
+
/* uninstall search */
$GLOBALS['core']->sqlDelete("mod_search_register", "module", "jobman");
|