| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function execute() |
||
| 16 | { |
||
| 17 | // @fixme this is unsafe. |
||
| 18 | // What we should be doing is iterating over all OAuth users, fetching their username, and updating the onwiki |
||
| 19 | // name for the user at the same time as blatting out the OAuth credentials, otherwise we risk losing all links |
||
| 20 | // to the user's onwiki account. |
||
| 21 | |||
| 22 | $this->getDatabase()->exec(<<<SQL |
||
| 23 | UPDATE user |
||
| 33 | } |
||