mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[FDroid] minor syntax fix for phpcs
This commit is contained in:
parent
e9f871ce68
commit
918041cc28
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue