XoopsModules25x /
xoopspoll
| 1 | <?php |
||||
| 2 | /* |
||||
| 3 | You may not change or alter any portion of this comment or credits |
||||
| 4 | of supporting developers from this source code or any supporting source code |
||||
| 5 | which is considered copyrighted (c) material of the original comment or credit authors. |
||||
| 6 | |||||
| 7 | This program is distributed in the hope that it will be useful, |
||||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||||
| 10 | */ |
||||
| 11 | |||||
| 12 | /** |
||||
| 13 | * Xoopspoll install functions.php |
||||
| 14 | * |
||||
| 15 | * @copyright:: {@link https://xoops.org/ XOOPS Project} |
||||
| 16 | * @license :: {@link http://www.fsf.org/copyleft/gpl.html GNU public license} |
||||
| 17 | * @package :: xoopspoll |
||||
| 18 | * @since :: 1.40 |
||||
| 19 | * @author :: zyspec <[email protected]> |
||||
| 20 | * @param \XoopsModule $module |
||||
| 21 | * @return bool |
||||
| 22 | */ |
||||
| 23 | function xoops_module_pre_install_xoopspoll(\XoopsModule $module) |
||||
|
0 ignored issues
–
show
|
|||||
| 24 | { |
||||
| 25 | // $db = \XoopsDatabaseFactory::getDatabaseConnection(); |
||||
| 26 | $retVal = true; |
||||
| 27 | |||||
| 28 | return $retVal; |
||||
| 29 | } |
||||
| 30 | |||||
| 31 | /** |
||||
| 32 | * @param \XoopsModule $module |
||||
| 33 | * @return bool |
||||
| 34 | */ |
||||
| 35 | function xoops_module_install_xoopspoll(\XoopsModule $module) |
||||
|
0 ignored issues
–
show
The parameter
$module is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 36 | { |
||||
| 37 | $retVal = true; |
||||
| 38 | |||||
| 39 | return $retVal; |
||||
| 40 | } |
||||
| 41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.