| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function alterTable_location() |
||
| 38 | { |
||
| 39 | global $xoopsDB; |
||
| 40 | $tbl = $xoopsDB->prefix('extcal_location'); |
||
| 41 | |||
| 42 | $sql = <<<__sql__ |
||
| 43 | ALTER TABLE `{$tbl}` |
||
| 44 | CHANGE `desc` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; |
||
| 45 | __sql__; |
||
| 46 | |||
| 47 | $xoopsDB->queryF($sql); |
||
| 48 | //echo "<hr>{$sql}<hr>"; |
||
| 54 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.