These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /************************************************************************/ |
||
3 | /* Donations - Paypal financial management module for Xoops 2 */ |
||
4 | /* Copyright (c) 2004 by Xoops2 Donations Module Dev Team */ |
||
5 | /* http://dev.xoops.org/modules/xfmod/project/?group_id=1060 */ |
||
6 | /* $Id: cancel.php 8193 2011-11-07 02:42:53Z beckmi $ */ |
||
0 ignored issues
–
show
|
|||
7 | /************************************************************************/ |
||
8 | /* */ |
||
9 | /* Based on NukeTreasury for PHP-Nuke - by Dave Lawrence AKA Thrash */ |
||
10 | /* NukeTreasury - Financial management for PHP-Nuke */ |
||
11 | /* Copyright (c) 2004 by Dave Lawrence AKA Thrash */ |
||
12 | /* [email protected] */ |
||
13 | /* [email protected] */ |
||
14 | /* */ |
||
15 | /************************************************************************/ |
||
16 | /* */ |
||
17 | /* This program is free software; you can redistribute it and/or modify */ |
||
18 | /* it under the terms of the GNU General Public License as published by */ |
||
19 | /* the Free Software Foundation; either version 2 of the License. */ |
||
20 | /* */ |
||
21 | /* This program is distributed in the hope that it will be useful, but */ |
||
22 | /* WITHOUT ANY WARRANTY; without even the implied warranty of */ |
||
23 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ |
||
24 | /* General Public License for more details. */ |
||
25 | /* */ |
||
26 | /* You should have received a copy of the GNU General Public License */ |
||
27 | /* along with this program; if not, write to the Free Software */ |
||
28 | /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 */ |
||
29 | /* USA */ |
||
30 | /************************************************************************/ |
||
31 | |||
32 | include 'header.php'; |
||
33 | redirect_header( XOOPS_URL . '/index.php', 5, _MD_DON_CANCEL_MSG); |
||
34 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.