mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
[FDroid] minor syntax fix for phpcs
This commit is contained in:
parent
e9f871ce68
commit
918041cc28
@ -36,11 +36,11 @@ class FDroidBridge extends BridgeAbstract {
|
||||
$curlError = curl_error($ch);
|
||||
curl_close($ch);
|
||||
if(!empty($curlError))
|
||||
return FALSE;
|
||||
$curlHeaders = explode("\n",$curlHeaders);
|
||||
$timestamp=FALSE;
|
||||
return false;
|
||||
$curlHeaders = explode("\n", $curlHeaders);
|
||||
$timestamp = false;
|
||||
foreach($curlHeaders as $header) {
|
||||
if(strpos($header, 'Last-Modified') !== FALSE) {
|
||||
if(strpos($header, 'Last-Modified') !== false) {
|
||||
$timestamp = str_replace('Last-Modified: ', '', $header);
|
||||
$timestamp = strtotime($timestamp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user