1
0
Fork 0
forked from blallo/rss-bridge

[core] Fix typos

This commit is contained in:
logmanoriginal 2016-11-09 19:10:40 +01:00
parent 84bc9d2da6
commit 14c689e7a3
3 changed files with 15 additions and 20 deletions

View file

@ -14,7 +14,7 @@ class FileCache implements CacheInterface {
public function saveData($datas){ public function saveData($datas){
$writeStream = file_put_contents($this->getCacheFile(), json_encode($datas, JSON_PRETTY_PRINT)); $writeStream = file_put_contents($this->getCacheFile(), json_encode($datas, JSON_PRETTY_PRINT));
if($writeStream === FALSE) { if($writeStream === false) {
throw new \Exception("Cannot write the cache... Do you have the right permissions ?"); throw new \Exception("Cannot write the cache... Do you have the right permissions ?");
} }

View file

@ -26,5 +26,3 @@ function debugMessage($text){
error_log($message); error_log($message);
} }
?>

View file

@ -53,7 +53,6 @@ function validateData(&$data,$parameters){
return $filteredValue; return $filteredValue;
}; };
if(!is_array($data)) if(!is_array($data))
return false; return false;
@ -99,5 +98,3 @@ function validateData(&$data,$parameters){
return true; return true;
} }
?>