onuninstall.php ➔ xoops_module_uninstall_equipment()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 You may not change or alter any portion of this comment or credits
5
 of supporting developers from this source code or any supporting source code
6
 which is considered copyrighted (c) material of the original comment or credit authors.
7
8
 This program is distributed in the hope that it will be useful,
9
 but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
*/
12
/**
13
 * Module: Equipment
14
 *
15
 * @category        Module
16
 * @package         equipment
17
 * @author          XOOPS Development Team <[email protected]> - <http://xoops.org>
18
 * @copyright       {@link https://xoops.org/ XOOPS Project}
19
 * @license         GPL 2.0 or later
20
 * @link            https://xoops.org/
21
 * @since           1.0.0
22
 */
23
24
/**
25
 * Prepares system prior to attempting to uninstall module
26
 * @param XoopsModule $module {@link XoopsModule}
27
 *
28
 * @return bool true if ready to uninstall, false if not
29
 */
30
function xoops_module_pre_uninstall_equipment(XoopsModule $module)
0 ignored issues
show
Unused Code introduced by
The parameter $module is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
31
{
32
    // Do some synchronization
33
    return true;
34
}
35
36
/**
37
 *
38
 * Performs tasks required during uninstallation of the module
39
 * @param XoopsModule $module {@link XoopsModule}
40
 *
41
 * @return bool true if uninstallation successful, false if not
42
 */
43
function xoops_module_uninstall_equipment(XoopsModule $module)
0 ignored issues
show
Unused Code introduced by
The parameter $module is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
44
{
45
    return true;
46
}
47