@@ -19,7 +19,7 @@ |
||
| 19 | 19 | class Likes_Notify_Background extends SMF_BackgroundTask |
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | - * This executes the task - loads up the information, puts the email in the queue and inserts alerts as needed. |
|
| 22 | + * This executes the task - loads up the information, puts the email in the queue and inserts alerts as needed. |
|
| 23 | 23 | * @return bool Always returns true |
| 24 | 24 | */ |
| 25 | 25 | public function execute() |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | class Likes_Notify_Background extends SMF_BackgroundTask |
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | - * This executes the task - loads up the information, puts the email in the queue and inserts alerts as needed. |
|
| 22 | + * This executes the task - loads up the information, puts the email in the queue and inserts alerts as needed. |
|
| 23 | 23 | * @return bool Always returns true |
| 24 | 24 | */ |
| 25 | 25 | public function execute() |
@@ -273,7 +273,6 @@ |
||
| 273 | 273 | * Modify any setting related to topics. |
| 274 | 274 | * Requires the admin_forum permission. |
| 275 | 275 | * Accessed from ?action=admin;area=postsettings;sa=topics. |
| 276 | - |
|
| 277 | 276 | * @param bool $return_config Whether or not to return the config_vars array (used for admin search) |
| 278 | 277 | * @return void|array Returns nothing or returns $config_vars if $return_config is true |
| 279 | 278 | * @uses Admin template, edit_topic_settings sub-template. |
@@ -5265,7 +5265,6 @@ discard block |
||
| 5265 | 5265 | |
| 5266 | 5266 | /** |
| 5267 | 5267 | * Tries different modes to make file/dirs writable. Wrapper function for chmod() |
| 5268 | - |
|
| 5269 | 5268 | * @param string $file The file/dir full path. |
| 5270 | 5269 | * @param int $value Not needed, added for legacy reasons. |
| 5271 | 5270 | * @return boolean true if the file/dir is already writable or the function was able to make it writable, false if the function couldn't make the file/dir writable. |
@@ -5305,7 +5304,6 @@ discard block |
||
| 5305 | 5304 | |
| 5306 | 5305 | /** |
| 5307 | 5306 | * Wrapper function for json_decode() with error handling. |
| 5308 | - |
|
| 5309 | 5307 | * @param string $json The string to decode. |
| 5310 | 5308 | * @param bool $returnAsArray To return the decoded string as an array or an object, SMF only uses Arrays but to keep on compatibility with json_decode its set to false as default. |
| 5311 | 5309 | * @param bool $logIt To specify if the error will be logged if theres any. |
@@ -273,7 +273,6 @@ |
||
| 273 | 273 | * Modify any setting related to topics. |
| 274 | 274 | * Requires the admin_forum permission. |
| 275 | 275 | * Accessed from ?action=admin;area=postsettings;sa=topics. |
| 276 | - |
|
| 277 | 276 | * @param bool $return_config Whether or not to return the config_vars array (used for admin search) |
| 278 | 277 | * @return void|array Returns nothing or returns $config_vars if $return_config is true |
| 279 | 278 | * @uses Admin template, edit_topic_settings sub-template. |
@@ -253,9 +253,9 @@ discard block |
||
| 253 | 253 | { |
| 254 | 254 | // Sort events by start time (all day events will be listed first) |
| 255 | 255 | uasort($day['events'], function ($a, $b) { |
| 256 | - if ($a['start_timestamp'] == $b['start_timestamp']) |
|
| 257 | - return 0; |
|
| 258 | - return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1; |
|
| 256 | + if ($a['start_timestamp'] == $b['start_timestamp']) |
|
| 257 | + return 0; |
|
| 258 | + return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1; |
|
| 259 | 259 | }); |
| 260 | 260 | |
| 261 | 261 | echo ' |
@@ -436,9 +436,9 @@ discard block |
||
| 436 | 436 | { |
| 437 | 437 | // Sort events by start time (all day events will be listed first) |
| 438 | 438 | uasort($day['events'], function ($a, $b) { |
| 439 | - if ($a['start_timestamp'] == $b['start_timestamp']) |
|
| 440 | - return 0; |
|
| 441 | - return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1; |
|
| 439 | + if ($a['start_timestamp'] == $b['start_timestamp']) |
|
| 440 | + return 0; |
|
| 441 | + return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1; |
|
| 442 | 442 | }); |
| 443 | 443 | |
| 444 | 444 | foreach ($day['events'] as $event) |
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | ) |
| 785 | 785 | ); |
| 786 | 786 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 787 | - $error_ips[] = inet_dtop($row['ip']); |
|
| 787 | + $error_ips[] = inet_dtop($row['ip']); |
|
| 788 | 788 | $smcFunc['db_free_result']($request); |
| 789 | 789 | |
| 790 | 790 | return $error_ips; |
@@ -2168,9 +2168,9 @@ discard block |
||
| 2168 | 2168 | |
| 2169 | 2169 | if ($low == '255.255.255.255') return 'unknown'; |
| 2170 | 2170 | if ($low == $high) |
| 2171 | - return $low; |
|
| 2171 | + return $low; |
|
| 2172 | 2172 | else |
| 2173 | - return $low . '-' . $high; |
|
| 2173 | + return $low . '-' . $high; |
|
| 2174 | 2174 | } |
| 2175 | 2175 | |
| 2176 | 2176 | /** |