Completed
Push — master ( 720064...d5ad83 )
by Michael
02:05
created

onuninstall.php ➔ xoops_module_uninstall_contact()   A

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
 * uninstall.php - cleanup on module uninstall
4
 *
5
 * @author          XOOPS Module Development Team
6
 * @copyright       {@link http://xoops.org 2001-2016 XOOPS Project}
7
 * @license         {@link http://www.fsf.org/copyleft/gpl.html GNU public license}
8
 * @link            http://xoops.org XOOPS
9
 */
10
11
12
/**
13
 * Prepares system prior to attempting to uninstall module
14
 * @param XoopsModule $module {@link XoopsModule}
15
 *
16
 * @return bool true if ready to uninstall, false if not
17
 */
18
19
function xoops_module_pre_uninstall_contact(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...
20
{
21
    // Do some synchronization
22
    return true;
23
}
24
25
/**
26
 *
27
 * Performs tasks required during uninstallation of the module
28
 * @param XoopsModule $module {@link XoopsModule}
29
 *
30
 * @return bool true if uninstallation successful, false if not
31
 */
32
function xoops_module_uninstall_contact(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...
33
{
34
    return true;
35
}
36
37