3.0.x-and-above/upload/catalog/controller/extension/module/facebook_business.php [68:87]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public function genFeedPing() {
        $this->load->model('catalog/product');
        $this->load->model('extension/module/facebook_business');

        $time = $this->estimateFeedGenerationTime();
        $this->response->addHeader('Content-type: text/plain');
        $this->response->setOutput(round($time));

        // This will call the genAction method above in an async request
        // so that we can still return a response from the ping action.
        try {
            $url = HTTP_SERVER.'index.php?route=extension/module/facebook_business/genFeed&from=genFeedPing';
            $curl = curl_init($url);
            curl_setopt($curl, CURLOPT_TIMEOUT, 1);
            curl_exec($curl);
            curl_close($curl);
        } catch (Exception $e) {
            // We expect the result to time out.
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



2.0.x-2.2.x/upload/catalog/controller/module/facebook_business.php [67:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public function genFeedPing() {
        $this->load->model('catalog/product');
        $this->load->model('module/facebook_business');

        $time = $this->estimateFeedGenerationTime();
        $this->response->addHeader('Content-type: text/plain');
        $this->response->setOutput(round($time));

        // This will call the genAction method above in an async request
        // so that we can still return a response from the ping action.
        try {
            $url = HTTP_SERVER.'index.php?route=module/facebook_business/genFeed&from=genFeedPing';
            $curl = curl_init($url);
            curl_setopt($curl, CURLOPT_TIMEOUT, 1);
            curl_exec($curl);
            curl_close($curl);
        } catch (Exception $e) {
            // We expect the result to time out.
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



2.3.x-and-above/upload/catalog/controller/extension/module/facebook_business.php [67:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public function genFeedPing() {
        $this->load->model('catalog/product');
        $this->load->model('extension/module/facebook_business');

        $time = $this->estimateFeedGenerationTime();
        $this->response->addHeader('Content-type: text/plain');
        $this->response->setOutput(round($time));

        // This will call the genAction method above in an async request
        // so that we can still return a response from the ping action.
        try {
            $url = HTTP_SERVER.'index.php?route=extension/module/facebook_business/genFeed&from=genFeedPing';
            $curl = curl_init($url);
            curl_setopt($curl, CURLOPT_TIMEOUT, 1);
            curl_exec($curl);
            curl_close($curl);
        } catch (Exception $e) {
            // We expect the result to time out.
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



