Index: trunk/extensions/InteractiveBlockMessage/InteractiveBlockMessageHooks.php |
— | — | @@ -38,24 +38,24 @@ |
39 | 39 | } |
40 | 40 | |
41 | 41 | if ( $parser->getTitle()->getNamespace() != NS_USER && $parser->getTitle()->getNamespace() != NS_USER_TALK ) { |
42 | | - $ret = "unknown"; |
| 42 | + $ret = 'unknown'; |
43 | 43 | return true; |
44 | 44 | } |
45 | 45 | |
46 | 46 | $user = User::newFromName( $parser->getTitle()->getBaseText() ); |
47 | 47 | if ($user instanceof User) { |
48 | 48 | if ($user->isBlocked()) { |
49 | | - $ret = "true"; |
| 49 | + $ret = 'true'; |
50 | 50 | return true; |
51 | 51 | } else { |
52 | | - $ret = "false"; |
| 52 | + $ret = 'false'; |
53 | 53 | return true; |
54 | 54 | } |
55 | 55 | } else { |
56 | | - $ret = "unknown"; |
| 56 | + $ret = 'unknown'; |
57 | 57 | return true; |
58 | 58 | } |
59 | | - $ret = "unknown"; |
| 59 | + $ret = 'unknown'; |
60 | 60 | return true; |
61 | 61 | } |
62 | 62 | } |