Remove mongo need + add blog vjevk
This commit is contained in:
@@ -51,7 +51,11 @@ class WrenchBlog extends BaseController
|
||||
else{
|
||||
$endpoint = "WRENCH_BLOG_DATA";
|
||||
$res1 = $this->getCache($endpoint);
|
||||
if (count($res1)==0){
|
||||
$do_newRead = true;
|
||||
if (isset($res1) && is_array($res1) && count($res1) > 0){
|
||||
$do_newRead = false;
|
||||
}
|
||||
if ($do_newRead){
|
||||
//$rawData = $this->apiData($blog_id);
|
||||
// $res1= $rawData['payload']; //[0]['payload'];
|
||||
$remoteURL = "https://blogdata.chiefsoft.net/blogdata/wrenchboard";
|
||||
|
||||
Reference in New Issue
Block a user