// Remove preactivation from installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13072 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-07 14:00:40 +00:00
parent e88d9c39a7
commit 84042be0f3
7 changed files with 3 additions and 401 deletions
-25
View File
@@ -242,31 +242,6 @@ class InstallControllerHttpProcess extends InstallControllerHttp
$this->ajaxJsonAnswer(true);
}
/**
* PROCESS : preactivation
* (currently not used)
*/
public function processPreactivation()
{
foreach ($this->session->partners as $partner => $data)
{
/*$stream_context = @stream_context_create(array('http' => array('method'=> 'GET', 'timeout' => 5)));
$url = 'http://api.prestashop.com/partner/preactivation/actions.php?version=1.0&partner='.addslashes($_GET['partner']);
// Protect fields
foreach ($_GET as $key => $value)
$_GET[$key] = strip_tags(str_replace(array('\'', '"'), '', trim($value)));
// Encore Get, Send It and Get Answers
@require_once('../config/settings.inc.php');
foreach ($_GET as $key => $val)
$url .= '&'.$key.'='.urlencode($val);
$url .= '&security='.md5($_GET['email']._COOKIE_IV_);*/
}
$this->ajaxJsonAnswer(true);
}
/**
* @see InstallAbstractModel::display()
*/