2009-10-20 03:58:47 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* e107 website system
|
|
|
|
*
|
2009-11-18 01:49:18 +00:00
|
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
2009-10-20 03:58:47 +00:00
|
|
|
* Released under the terms and conditions of the
|
|
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
*
|
2009-12-17 22:47:20 +00:00
|
|
|
* PM plugin - install/uninstall routines
|
|
|
|
*
|
2009-10-20 03:58:47 +00:00
|
|
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_setup.php,v $
|
2010-02-10 18:18:01 +00:00
|
|
|
* $Revision$
|
|
|
|
* $Date$
|
|
|
|
* $Author$
|
2009-10-20 03:58:47 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2009-12-17 22:47:20 +00:00
|
|
|
/**
|
|
|
|
* e107 Private messenger plugin
|
|
|
|
*
|
|
|
|
* install/uninstall routines
|
|
|
|
*
|
|
|
|
* @package e107_plugins
|
|
|
|
* @subpackage pm
|
2010-02-10 18:18:01 +00:00
|
|
|
* @version $Id$;
|
2009-12-17 22:47:20 +00:00
|
|
|
*/
|
|
|
|
|
2009-10-20 03:58:47 +00:00
|
|
|
class pm_setup
|
|
|
|
{
|
|
|
|
|
2009-10-21 12:53:00 +00:00
|
|
|
function uninstall_post()
|
2009-10-20 03:58:47 +00:00
|
|
|
{
|
|
|
|
$sql = e107::getDb();
|
2009-12-17 22:47:20 +00:00
|
|
|
$sql->db_Delete('core', "e107_name = 'pm_prefs'");
|
|
|
|
$sql->db_Delete('menus', "menu_name = 'private_msg_menu'");
|
2009-10-20 03:58:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|