Update function.inc.php missing elements

added "$this->" before curl_get/curl_delete when missing