1
|
|
|
<?php declare(strict_types=1); |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* **************************************************************************** |
5
|
|
|
* - A Project by Developers TEAM For Xoops - ( https://xoops.org ) |
6
|
|
|
* **************************************************************************** |
7
|
|
|
* XHTTPERROR - MODULE FOR XOOPS |
8
|
|
|
* Copyright (c) 2007 - 2012 |
9
|
|
|
* Rota Lucio ( http://luciorota.altervista.org/xoops/ ) |
10
|
|
|
* |
11
|
|
|
* You may not change or alter any portion of this comment or credits |
12
|
|
|
* of supporting developers from this source code or any supporting |
13
|
|
|
* source code which is considered copyrighted (c) material of the |
14
|
|
|
* original comment or credit authors. |
15
|
|
|
* |
16
|
|
|
* This program is distributed in the hope that it will be useful, |
17
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
18
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19
|
|
|
* GNU General Public License for more details. |
20
|
|
|
* --------------------------------------------------------------------------- |
21
|
|
|
* @copyright Rota Lucio ( http://luciorota.altervista.org/xoops/ ) |
22
|
|
|
* @license GNU General Public License v3.0 |
23
|
|
|
* @package xhttperror |
24
|
|
|
* @author Rota Lucio ( [email protected] ) |
25
|
|
|
* |
26
|
|
|
* $Rev$: Revision of last commit |
27
|
|
|
* $Author$: Author of last commit |
28
|
|
|
* $Date$: Date of last commit |
29
|
|
|
* **************************************************************************** |
30
|
|
|
*/ |
31
|
|
|
defined('DS') or define('DS', DIRECTORY_SEPARATOR); |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* @return bool |
35
|
|
|
*/ |
36
|
|
|
function xoops_module_pre_uninstall_xhttperror(\XoopsObject $xoopsModule) |
|
|
|
|
37
|
|
|
{ |
38
|
|
|
// NOP |
39
|
|
|
return true; |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @return bool |
44
|
|
|
*/ |
45
|
|
|
function xoops_module_uninstall_xhttperror(\XoopsObject $xoopsModule) |
46
|
|
|
{ |
47
|
|
|
require_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/include/functions.php'; |
48
|
|
|
|
49
|
|
|
// NOP |
50
|
|
|
return true; |
51
|
|
|
} |
52
|
|
|
|
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.