mirror of
https://github.com/e107inc/e107.git
synced 2025-02-13 02:54:39 +01:00
39 lines
776 B
PHP
39 lines
776 B
PHP
<?php
|
|
/*
|
|
* e107 website system
|
|
*
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
|
* Released under the terms and conditions of the
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
*
|
|
* PM plugin - install/uninstall routines
|
|
*
|
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_setup.php,v $
|
|
* $Revision: 1.4 $
|
|
* $Date: 2009-12-17 22:47:20 $
|
|
* $Author: e107steved $
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* e107 Private messenger plugin
|
|
*
|
|
* install/uninstall routines
|
|
*
|
|
* @package e107_plugins
|
|
* @subpackage pm
|
|
* @version $Id: pm_setup.php,v 1.4 2009-12-17 22:47:20 e107steved Exp $;
|
|
*/
|
|
|
|
class pm_setup
|
|
{
|
|
|
|
function uninstall_post()
|
|
{
|
|
$sql = e107::getDb();
|
|
$sql->db_Delete('core', "e107_name = 'pm_prefs'");
|
|
$sql->db_Delete('menus', "menu_name = 'private_msg_menu'");
|
|
}
|
|
|
|
}
|